diff options
Diffstat (limited to 'framework/Web/Javascripts/js/debug/ajax.js')
-rw-r--r-- | framework/Web/Javascripts/js/debug/ajax.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/js/debug/ajax.js b/framework/Web/Javascripts/js/debug/ajax.js index a6c8db82..5bd22afa 100644 --- a/framework/Web/Javascripts/js/debug/ajax.js +++ b/framework/Web/Javascripts/js/debug/ajax.js @@ -655,6 +655,8 @@ Prado.CallbackRequest.prototype = */
request : null,
+ Enabled : true,
+
/**
* Prepare and inititate a callback request.
*/
@@ -766,6 +768,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
|