mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
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:
@@ -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) {
|
||||
|
||||
@@ -322,7 +322,7 @@ function onAjaxRequestStateChange(http) {
|
||||
http.callbackData = null;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
catch(e) {
|
||||
activeAjaxRequests--;
|
||||
checkAjaxRequestsState();
|
||||
http.onreadystatechange = Prototype.emptyFunction;
|
||||
|
||||
Reference in New Issue
Block a user