diff options
author | wei <> | 2006-07-02 04:33:04 +0000 |
---|---|---|
committer | wei <> | 2006-07-02 04:33:04 +0000 |
commit | b2f51830b7ad319f5d978b411d9bfd87f03308eb (patch) | |
tree | 77fef774116146a5f4c84dd46a529ecb30ac613f /framework/Web/UI/WebControls | |
parent | 6535233f952be866d624ad1a573562c6706138de (diff) |
Fixed #226 and #246
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r-- | framework/Web/UI/WebControls/THtmlArea.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 8b214b69..77a774c4 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -219,7 +219,7 @@ class THtmlArea extends TTextBox */
protected function addAttributesToRender($writer)
{
- if($this->getEnableVisualEdit())
+ if($this->getEnableVisualEdit() && $this->getEnabled(true))
{
$writer->addAttribute('id',$this->getClientID());
$this->registerEditorClientScript($writer);
|