Monotone-Parent: 5230458dba570c663e9087a99852e38cfb26de0f

Monotone-Revision: 1b073e285785f32b4c27e867a0e0d363fdc74264

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-01T19:28:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-11-01 19:28:38 +00:00
parent 77fce4d4da
commit dadaa9fda3
2 changed files with 4 additions and 1 deletions

View File

@@ -287,7 +287,7 @@ function onAjaxRequestStateChange(http) {
createCASRecoveryIFrame(http);
}
else if (activeAjaxRequests > 0) {
if (!http.aborted)
if (!http.aborted && http.callback)
http.callback(http);
activeAjaxRequests--;
checkAjaxRequestsState();