diff options
-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 a498af3a..7fc59691 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -405,7 +405,7 @@ class THtmlArea extends TTextBox $options['CompressionOptions'] = $this->getCompressionOptions(); $options = TJavaScript::encode($options,true,true); - $script = "new Prado.WebUI.THtmlArea($options)"; + $script = "new {$this->getClientClassName()}($options)"; $scripts->registerEndScript('prado:THtmlArea'.$this->ClientID,$script); } |