summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index 1806f71f..e7c7e20f 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -430,8 +430,11 @@ Object.extend(Prado.CallbackRequest,
*/
Ajax.Responders.register({onComplete : function(request)
{
- if(request.ActiveControl.HasPriority)
- Prado.CallbackRequest.tryNextRequest();
+ if(request && request instanceof Prado.AjaxRequest)
+ {
+ if(request.ActiveControl.HasPriority)
+ Prado.CallbackRequest.tryNextRequest();
+ }
}});
//Add HTTP exception respones when logger is enabled.