diff options
Diffstat (limited to 'framework/Web/UI/WebControls/THtmlArea.php')
-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()
|