Monotone-Parent: c67737202ab75558a7c92ec29ae766d765eeebd5

Monotone-Revision: 0cead9c9acf2f6167ebb5f33124979426871bdf9

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-11-02T19:47:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-11-02 19:47:02 +00:00
parent d3d7697d94
commit 0ed5395e24
+7 -5
View File
@@ -527,12 +527,14 @@ function quotasCallback(http) {
&& http.status == 200) {
var hasQuotas = false;
var quotas = http.responseText.evalJSON(true);
for (var i in quotas) {
hasQuotas = true;
break;
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("/");
var quotasMB = new Array();