summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
diff options
context:
space:
mode:
authorwei <>2006-09-06 23:45:32 +0000
committerwei <>2006-09-06 23:45:32 +0000
commit8c45dcea7a12dac3b717478cc07010f5f19ad6d2 (patch)
treee39515d20fd09bd77a219c88358a956e8311755e /framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
parent4018d3ef83b81c021308f1c529d55497b2b89cea (diff)
update triggered callbacks.
Diffstat (limited to 'framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php')
-rw-r--r--framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
index 176539b4..52106f1e 100644
--- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
+++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php
@@ -115,9 +115,10 @@ class TTimeTriggeredCallback extends TCallback
/**
* @return array list of timer options for client-side.
*/
- protected function getTimerOptions()
+ protected function getTriggerOptions()
{
$options['ID'] = $this->getClientID();
+ $options['EventTarget']= $this->getUniqueID();
$options['Interval'] = $this->getInterval();
$options['DecayRate'] = $this->getDecayRate();
$options['DecayType'] = $this->getDecayType();
@@ -132,7 +133,7 @@ class TTimeTriggeredCallback extends TCallback
{
parent::render($writer);
$this->getActiveControl()->registerCallbackClientScript(
- $this->getClientClassName(), $this->getTimerOptions());
+ $this->getClientClassName(), $this->getTriggerOptions());
}
/**