From 579d16245fd64ded09792b33e9411ed9832bac27 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Fri, 1 Jun 2012 08:07:52 +0000 Subject: fix a regression in THtmlArea introduced in r3148 --- framework/Web/UI/WebControls/THtmlArea.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') 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() -- cgit v1.2.3