From aedbfe04daaaa0baa8e97c4d7d13e8a1f9d867cb Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 8 Oct 2007 01:09:23 +0000 Subject: Fixed #714 --- framework/Web/Javascripts/source/prado/activecontrols/ajax3.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'framework/Web/Javascripts/source') 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. -- cgit v1.2.3