summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/prado/ajax3.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/prado/ajax3.js')
-rw-r--r--framework/Web/Javascripts/prado/ajax3.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js
index 8ae6b064..5374387d 100644
--- a/framework/Web/Javascripts/prado/ajax3.js
+++ b/framework/Web/Javascripts/prado/ajax3.js
@@ -191,7 +191,7 @@ Object.extend(Prado.CallbackRequest,
msg += inspect(action)+"\n";
});
}
- Logger.warn(msg);
+ Logger.info(msg);
}
},
@@ -286,8 +286,9 @@ Object.extend(Prado.CallbackRequest,
//Logger.info("aborting ... "+inProgress);
if(inProgress)
{
- // Logger.warn("aborted "+inProgress.id)
- inProgress.request.transport.abort();
+ //abort if not ready.
+ if(inProgress.request.transport.readyState < 4)
+ inProgress.request.transport.abort();
clearTimeout(inProgress.timeout);
Prado.CallbackRequest.requestInProgress = null;
return true;
@@ -310,9 +311,11 @@ Object.extend(Prado.CallbackRequest,
else
{
if(typeof(Logger) != "undefined")
- Logger.debug("Bad page state:"+data);
+ Logger.warn("Missing page state:"+data);
+ return false;
}
}
+ return true;
}
})