X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCombobox.class.php;fp=WEB-INF%2Flib%2Fform%2FCombobox.class.php;h=534c8a50b208a1084a08cdc2f6f1fbb451f5cd5b;hb=2ae2b6401a0758b21e016148851eadea7dd3f619;hp=778379303a86443b3fc49c3d9b0a7755755efece;hpb=74704a7d4ecfb939bbcddeeec397b9de3b85bd2f;p=timetracker.git 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