summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2006-09-28 02:14:58 +0000
committerwei <>2006-09-28 02:14:58 +0000
commitb64ee49dc56cbbecccadfc7908dd59ffb95fc0ff (patch)
treedccaa24e3106d3c52f68c0aa41d4baa6e650263d /framework
parent55d6875b434e64f635ef9f4b8912f215325edee6 (diff)
Fixed #401
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Javascripts/prado/activecontrols3.js2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLinkButton.php2
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);
}
/**