diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Javascripts/prado/activecontrols3.js | 2 | ||||
-rw-r--r-- | framework/Web/UI/ActiveControls/TActiveLinkButton.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/prado/activecontrols3.js b/framework/Web/Javascripts/prado/activecontrols3.js index e608e71e..315ead78 100644 --- a/framework/Web/Javascripts/prado/activecontrols3.js +++ b/framework/Web/Javascripts/prado/activecontrols3.js @@ -145,7 +145,7 @@ Prado.WebUI.TTimeTriggeredCallback = Base.extend( startTimer : function()
{
this.options.onComplete = this.onRequestComplete.bind(this);
- setTimeout(this.onTimerEvent.bind(this), 200);
+ this.timer = setTimeout(this.onTimerEvent.bind(this), 200);
},
stopTimer : function()
diff --git a/framework/Web/UI/ActiveControls/TActiveLinkButton.php b/framework/Web/UI/ActiveControls/TActiveLinkButton.php index cdb346f9..30c62723 100644 --- a/framework/Web/UI/ActiveControls/TActiveLinkButton.php +++ b/framework/Web/UI/ActiveControls/TActiveLinkButton.php @@ -85,7 +85,7 @@ class TActiveLinkButton extends TLinkButton implements IActiveControl, ICallback { parent::setText($value); if($this->getActiveControl()->canUpdateClientSide()) - $this->getPage()->getCallbackClient()->setAttribute($this, 'value', $value); + $this->getPage()->getCallbackClient()->replace($this, $value); } /** |