]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Combobox.class.php
Some more refactoring.
[timetracker.git] / WEB-INF / lib / form / Combobox.class.php
index e253e8ec2e62f1ac9b97f80536e06a88a5501152..314f4b74ec5d9b7d00a0559e9590f0826f8c4b36 100644 (file)
@@ -44,7 +44,7 @@ class Combobox extends FormElement {
     var $mCompareOn = "key"; // or "value"
     var $mDataDeep = 1;
     var $mDataKeys = array();
-    var $cClassName    = "Combobox";
+    var $class = 'Combobox';
 
        function __construct($name,$value="")
        {
@@ -84,7 +84,7 @@ class Combobox extends FormElement {
                if ($this->style!="")
                   $html .= " style=\"$this->style\"";
                 
-                if (!$this->isEnable())
+                if (!$this->isEnabled())
                   $html .= " disabled";
                   
                $html .= ">\n";