X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cb8e3de960b758147b34d8323054e7de70548619..04bc6bdd39d67bcf9f63d8af4b067f1fafc06f8a:/WEB-INF/lib/form/CheckboxGroup.class.php diff --git a/WEB-INF/lib/form/CheckboxGroup.class.php b/WEB-INF/lib/form/CheckboxGroup.class.php index 13f207d9..9d19d278 100644 --- a/WEB-INF/lib/form/CheckboxGroup.class.php +++ b/WEB-INF/lib/form/CheckboxGroup.class.php @@ -66,9 +66,8 @@ class CheckboxGroup extends FormElement { $this->lSelNone = $i18n->getKey('label.select_none'); } - function toStringControl() { - if (!$this->isRenderable()) return ""; - + function toStringControl() { + if ($this->id=="") $this->id = $this->name; $renderArray = array(); @@ -132,7 +131,7 @@ class CheckboxGroup extends FormElement { } - $html = "\n\tmStyle."\">
\n"; + $html = "\n\tstyle."\">\n"; $html .= "
\n"; $html .= ''.$this->lSelAll.' / '.$this->lSelNone.''; $html .= "
";