Author: jfthomps
Date: Tue May 15 15:27:49 2012
New Revision: 1338750

URL: http://svn.apache.org/viewvc?rev=1338750&view=rev
Log:
VCL-311
add more fields to edit computer page

computers.php: modified editOrAddComputer - left out one line in the last 
commit that defines startstate

Modified:
    incubator/vcl/trunk/web/.ht-inc/computers.php

Modified: incubator/vcl/trunk/web/.ht-inc/computers.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/computers.php?rev=1338750&r1=1338749&r2=1338750&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/computers.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/computers.php Tue May 15 15:27:49 2012
@@ -603,6 +603,7 @@ function editOrAddComputer($state) {
                        $tovmhostinuse = $row['start'];
        }
        print "<script type=\"text/javascript\">\n";
+       print "var startstate = '{$computers[$data['compid']]['state']}';\n";
        $tmp = array();
        foreach($states as $id => $val)
                $tmp[] = "{value: '$id', label: '$val'}";


Reply via email to