]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Combobox.class.php
Refactoring - cleaning up whitespace
[timetracker.git] / WEB-INF / lib / form / Combobox.class.php
index 31b89bed7b92e6cee572497284bee084158cfb4a..534c8a50b208a1084a08cdc2f6f1fbb451f5cd5b 100644 (file)
@@ -87,6 +87,9 @@ class Combobox extends FormElement {
                   
                if ($this->mStyle!="")
                   $html .= " style=\"$this->mStyle\"";
+                
+                if (!$this->isEnable())
+                  $html .= " disabled";
                   
                $html .= ">\n";   
                if (is_array($this->mOptionsEmpty) && (count($this->mOptionsEmpty) > 0))