diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TRatingList.php | 1 |
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);";
|