summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorwei <>2006-02-16 00:15:22 +0000
committerwei <>2006-02-16 00:15:22 +0000
commita2cf28f9759c9a1b385914ad64b4f74470f8703b (patch)
treeb58bf93cabfb2778dcbfde9cd369fa0759e33cee /framework/Web/UI/WebControls
parent571cfc9400f101c754d0f9af53a4d8cb707bbf38 (diff)
Add clientscript registration.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TRatingList.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php
index 7897f36f..6613c08b 100644
--- a/framework/Web/UI/WebControls/TRatingList.php
+++ b/framework/Web/UI/WebControls/TRatingList.php
@@ -106,6 +106,7 @@ class TRatingList extends TRadioButtonList
$this->publishRatingListAssets();
$id = $this->getClientID();
$scripts = $this->getPage()->getClientScript();
+ $scripts->registerClientScript('prado');
$serializer = new TJavascriptSerializer($this->getRatingClientOptions());
$options = $serializer->toJavascript();
$code = "new Prado.WebUI.TRatingList($options);";