mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-08 01:45:08 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user