X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/f73f9902e51376cd8fb327cb49343d3a585f5255..04bc6bdd39d67bcf9f63d8af4b067f1fafc06f8a:/WEB-INF/lib/form/TextArea.class.php diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index 8a4e20a5..4f176fb3 100644 --- a/WEB-INF/lib/form/TextArea.class.php +++ b/WEB-INF/lib/form/TextArea.class.php @@ -47,9 +47,8 @@ class TextArea extends FormElement { function setRows($value) { $this->mRows = $value; } function getRows() { return $this->mRows; } - function toStringControl() { - if (!$this->isRenderable()) return ""; - + function toStringControl() { + if ($this->id=="") $this->id = $this->mName; $js_maxlen = ""; @@ -70,8 +69,8 @@ class TextArea extends FormElement { $html .= " maxlength=\"$this->max_length\""; } - if ($this->mStyle!="") - $html .= " style=\"$this->mStyle\""; + if ($this->style!="") + $html .= " style=\"$this->style\""; if ($this->mOnKeyPress) { $html .= " onkeypress=\"$this->mOnKeyPress\"";