Monotone-Parent: b97dac121b3e91b85aa6501ada5f0c990f1a4023

Monotone-Revision: ae6fe76c802adffd3a6829c353459ef85ab58cc3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-02-07T20:24:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-02-07 20:24:41 +00:00
parent 8a6faa594c
commit 9ba5751b82
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -494,7 +494,11 @@ function openMailbox(mailbox, reload, idx) {
var account = Mailer.currentMailbox.split("/")[1];
if (accounts[account].supportsQuotas) {
var quotasUrl = ApplicationBaseURL + mailbox + "/quotas";
triggerAjaxRequest(quotasUrl, quotasCallback);
if (document.quotaAjaxRequest) {
document.quotaAjaxRequest.aborted = true;
document.quotaAjaxRequest.abort();
}
document.quotaAjaxRequest = triggerAjaxRequest(quotasUrl, quotasCallback);
}
}
}
@@ -601,6 +605,8 @@ function quotasCallback(http) {
window.status = text;
}
}
document.quotaAjaxRequest = null;
}
function onMessageContextMenu(event) {
+1 -1
View File
@@ -322,7 +322,7 @@ function onAjaxRequestStateChange(http) {
http.callbackData = null;
}
}
catch (e) {
catch(e) {
activeAjaxRequests--;
checkAjaxRequestsState();
http.onreadystatechange = Prototype.emptyFunction;