summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorxue <>2006-02-18 23:24:43 +0000
committerxue <>2006-02-18 23:24:43 +0000
commitc8ae832e160d1b873034efbb04ad94e1003d4143 (patch)
tree37f9fdc84f1bb66c60890eb6c733503066d90a02 /framework/Web/UI/WebControls
parent145c4aef09e278d29bfd8e9858e114ca097e5901 (diff)
cleaning up TClientScriptManager.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TTextHighlighter.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php
index cedc807f..4aa01dc4 100644
--- a/framework/Web/UI/WebControls/TTextHighlighter.php
+++ b/framework/Web/UI/WebControls/TTextHighlighter.php
@@ -168,8 +168,7 @@ class TTextHighlighter extends TWebControl
protected function getHeaderTemplate()
{
$id = $this->getClientID();
- $cs = $this->getPage()->getClientScript();
- return $cs->renderJavascriptBlock("new Prado.WebUI.TTextHighlighter('{$id}');");
+ return TJavaScript::renderScriptBlock("new Prado.WebUI.TTextHighlighter('{$id}');");
}
}
?> \ No newline at end of file