projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/master'
[timetracker.git]
/
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
7783793
..
534c8a5
100644
(file)
--- 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->mStyle!="")
$html .= " style=\"$this->mStyle\"";
+
+ if (!$this->isEnable())
+ $html .= " disabled";
$html .= ">\n";
if (is_array($this->mOptionsEmpty) && (count($this->mOptionsEmpty) > 0))
$html .= ">\n";
if (is_array($this->mOptionsEmpty) && (count($this->mOptionsEmpty) > 0))
@@
-112,3
+115,4
@@
class Combobox extends FormElement {
return $html;
}
}
return $html;
}
}
+?>
\ No newline at end of file