diff options
author | ctrlaltca <> | 2012-06-01 08:07:52 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-06-01 08:07:52 +0000 |
commit | 579d16245fd64ded09792b33e9411ed9832bac27 (patch) | |
tree | fc42cd8507afb1d93b2c045e33b3534f322e3a4c /framework/Web/UI/WebControls | |
parent | 3c13f0fbdb25aa4871adcb85de7c9a994701a230 (diff) |
fix a regression in THtmlArea introduced in r3148
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 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()
|