Monotone-Parent: a9a815362cf2b8cfa777d0a89799463ee2302535
Monotone-Revision: ed40a4a9e9d163d3485ee9181074ef26215a9f2e Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-02T18:56:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
ce394c512d
commit
ad53fa5812
|
@ -523,11 +523,13 @@ function quotasCallback(http) {
|
|||
&& http.status == 200) {
|
||||
var hasQuotas = false;
|
||||
|
||||
if (http.responseText.length > 0) {
|
||||
var quotas = http.responseText.evalJSON(true);
|
||||
for (var i in quotas) {
|
||||
hasQuotas = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (hasQuotas) {
|
||||
var treePath = currentMailbox.split("/");
|
||||
|
@ -1279,6 +1281,7 @@ function onLoadMailboxesCallback(http) {
|
|||
if (http.readyState == 4
|
||||
&& http.status == 200) {
|
||||
checkAjaxRequestsState();
|
||||
if (http.responseText.length > 0) {
|
||||
var newAccount = buildMailboxes(http.callbackData,
|
||||
http.responseText);
|
||||
accounts[http.callbackData] = newAccount;
|
||||
|
@ -1291,6 +1294,7 @@ function onLoadMailboxesCallback(http) {
|
|||
checkAjaxRequestsState();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// var tree = $("mailboxTree");
|
||||
// var treeNodes = document.getElementsByClassName("dTreeNode", tree);
|
||||
|
|
Loading…
Reference in a new issue