summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authorwei <>2007-10-08 01:09:23 +0000
committerwei <>2007-10-08 01:09:23 +0000
commitaedbfe04daaaa0baa8e97c4d7d13e8a1f9d867cb (patch)
treef9e6ca68a398b6d5a66e4e2414691691c9db3cdd /framework/Web/Javascripts
parentc31900c9c909f42b722bfb03b164d548b602cdd4 (diff)
Fixed #714
Diffstat (limited to 'framework/Web/Javascripts')
-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.