diff options
author | wei <> | 2006-09-23 01:08:19 +0000 |
---|---|---|
committer | wei <> | 2006-09-23 01:08:19 +0000 |
commit | 9af56fd93ed071d86f14296cec618073f6c0941a (patch) | |
tree | 439b2ba2a89b79bbbd0ce95ad904bd5335c7a700 /framework/Web/Javascripts/prado/ajax3.js | |
parent | 0ccf3763474a18b72b6a166399fc1cf569b867f8 (diff) |
Fixed #383
Diffstat (limited to 'framework/Web/Javascripts/prado/ajax3.js')
-rw-r--r-- | framework/Web/Javascripts/prado/ajax3.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js index 6e1b7d38..43f159f4 100644 --- a/framework/Web/Javascripts/prado/ajax3.js +++ b/framework/Web/Javascripts/prado/ajax3.js @@ -367,6 +367,8 @@ Prado.CallbackRequest.prototype = */
request : null,
+ Enabled : true,
+
/**
* Prepare and inititate a callback request.
*/
@@ -478,6 +480,9 @@ Prado.CallbackRequest.prototype = if(this.options.onPreDispatch)
this.options.onPreDispatch(this,null);
+ if(!this.Enabled)
+ return;
+
if(this.options.HasPriority)
return Prado.CallbackRequest.dispatchPriorityRequest(this);
else
|