summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-02-08 18:53:49 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-02-08 18:53:49 +0100
commit94327950ef50e98e94bf2164aecc81efe510d115 (patch)
treed338ee2c89e58f6614894bdf0a24d8cbe4adfc8d /framework/Web
parent37a643e4050bd0bb1585d38e4409a38c46c9c49b (diff)
Fixed TActiveRatingList
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRatingList.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveRatingList.php b/framework/Web/UI/ActiveControls/TActiveRatingList.php
index 2b1c764c..6f6dd847 100644
--- a/framework/Web/UI/ActiveControls/TActiveRatingList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRatingList.php
@@ -105,8 +105,8 @@ class TActiveRatingList extends TRatingList implements IActiveControl, ICallback
if($this->getActiveControl()->canUpdateClientSide())
{
$client = $this->getPage()->getCallbackClient();
- $code = parent::getClientClassName().'.'.$func;
- $client->callClientFunction($code,array($this,$value));
+ $code = 'Prado.Registry[\''.$this->ClientID.'\'].'.$func.'('.$value.')';
+ $client->evaluateScript($code,array($value));
}
}