mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 22:15:26 +00:00
Monotone-Parent: 73d26bfc7c0fe2155957f4be90b7df5a5a376b10
Monotone-Revision: 42e59dbc23477959abe04e59a1ccd7784fc744d2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-12T17:42:33 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -247,9 +247,9 @@ function createHTTPClient() {
|
||||
function onAjaxRequestStateChange(http) {
|
||||
try {
|
||||
if (http.readyState == 4) {
|
||||
activeAjaxRequests--;
|
||||
checkAjaxRequestsState();
|
||||
if (http.status == 0 && usesCASAuthentication) {
|
||||
activeAjaxRequests--;
|
||||
checkAjaxRequestsState();
|
||||
recoveryRequest = http;
|
||||
var urlstr = ApplicationBaseURL;
|
||||
if (!urlstr.endsWith('/'))
|
||||
@@ -260,6 +260,8 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user