summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlaltca <>2012-06-01 08:07:52 +0000
committerctrlaltca <>2012-06-01 08:07:52 +0000
commit579d16245fd64ded09792b33e9411ed9832bac27 (patch)
treefc42cd8507afb1d93b2c045e33b3534f322e3a4c
parent3c13f0fbdb25aa4871adcb85de7c9a994701a230 (diff)
fix a regression in THtmlArea introduced in r3148
-rw-r--r--framework/Web/UI/WebControls/THtmlArea.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php
index b73e03d7..f2caa303 100644
--- a/framework/Web/UI/WebControls/THtmlArea.php
+++ b/framework/Web/UI/WebControls/THtmlArea.php
@@ -349,6 +349,7 @@ class THtmlArea extends TTextBox
public function onPreRender($param)
{
parent::onPreRender($param);
+ $this->loadJavascriptLibrary();
}
/**
@@ -409,7 +410,6 @@ class THtmlArea extends TTextBox
*/
protected function registerEditorClientScript($writer)
{
- $this->loadJavascriptLibrary();
$scripts = $this->getPage()->getClientScript();
$options = array(
'EditorOptions' => $this->getEditorOptions()