Monotone-Parent: 4931dae72f1ad88e9b719cf79ec472271ce13836
Monotone-Revision: 73d26bfc7c0fe2155957f4be90b7df5a5a376b10 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-12T17:37:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
5c4964bc55
commit
bfcf13e683
|
@ -247,6 +247,8 @@ function createHTTPClient() {
|
|||
function onAjaxRequestStateChange(http) {
|
||||
try {
|
||||
if (http.readyState == 4) {
|
||||
activeAjaxRequests--;
|
||||
checkAjaxRequestsState();
|
||||
if (http.status == 0 && usesCASAuthentication) {
|
||||
recoveryRequest = http;
|
||||
var urlstr = ApplicationBaseURL;
|
||||
|
@ -258,8 +260,6 @@ function onAjaxRequestStateChange(http) {
|
|||
else if (activeAjaxRequests > 0) {
|
||||
if (!http.aborted)
|
||||
http.callback(http);
|
||||
activeAjaxRequests--;
|
||||
checkAjaxRequestsState();
|
||||
http.onreadystatechange = Prototype.emptyFunction;
|
||||
http.callback = Prototype.emptyFunction;
|
||||
http.callbackData = null;
|
||||
|
|
Loading…
Reference in a new issue