Monotone-Parent: 909eda2dfa5708b168adc8b891a2217b109db587
Monotone-Revision: c67737202ab75558a7c92ec29ae766d765eeebd5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-02T19:42:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
2ab1e11e59
commit
d3d7697d94
|
@ -535,7 +535,10 @@ function quotasCallback(http) {
|
|||
|
||||
if (hasQuotas) {
|
||||
var treePath = currentMailbox.split("/");
|
||||
var mbQuotas = quotas["/" + treePath[2]];
|
||||
var quotasMB = new Array();
|
||||
for (var i = 2; i < treePath.length; i++)
|
||||
quotasMB.push(treePath[i].substr(6));
|
||||
var mbQuotas = quotas["/" + quotasMB.join("/")];
|
||||
var used = mbQuotas["usedSpace"];
|
||||
var max = mbQuotas["maxQuota"];
|
||||
var percents = (Math.round(used * 10000 / max) / 100);
|
||||
|
@ -544,7 +547,6 @@ function quotasCallback(http) {
|
|||
window.status = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onMessageContextMenu(event) {
|
||||
|
|
Loading…
Reference in a new issue