X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/33399ff6a8bdfe9b989810dafe9c4dbf3cf3b685..d76ad24052b5d1fd647938e1941628e295769b4b:/WEB-INF/lib/form/Combobox.class.php diff --git a/WEB-INF/lib/form/Combobox.class.php b/WEB-INF/lib/form/Combobox.class.php index 77837930..534c8a50 100644 --- a/WEB-INF/lib/form/Combobox.class.php +++ b/WEB-INF/lib/form/Combobox.class.php @@ -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)) @@ -112,3 +115,4 @@ class Combobox extends FormElement { return $html; } } +?> \ No newline at end of file