mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 04:17:31 +09:00
Fix for loop in Sync quota dialog.
This commit is contained in:
parent
02e9ee9e81
commit
b1e44f4685
1 changed files with 8 additions and 3 deletions
|
|
@ -193,10 +193,15 @@ var gUsageTreeView = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
toremove = [this._byname[coll].title for each (coll in toremove)];
|
// Tycho: toremove = [this._byname[coll].title for each (coll in toremove)];
|
||||||
toremove = toremove.join(gSyncQuota.bundle.getString("quota.list.separator"));
|
let toremovetitles = [];
|
||||||
|
for (let coll in toremove) {
|
||||||
|
toremovetitles.push(this._byname[coll].title);
|
||||||
|
}
|
||||||
|
|
||||||
|
toremovetitles = toremovetitles.join(gSyncQuota.bundle.getString("quota.list.separator"));
|
||||||
caption.firstChild.nodeValue = gSyncQuota.bundle.getFormattedString(
|
caption.firstChild.nodeValue = gSyncQuota.bundle.getFormattedString(
|
||||||
"quota.removal.label", [toremove]);
|
"quota.removal.label", [toremovetitles]);
|
||||||
if (freeup)
|
if (freeup)
|
||||||
caption.firstChild.nodeValue += gSyncQuota.bundle.getFormattedString(
|
caption.firstChild.nodeValue += gSyncQuota.bundle.getFormattedString(
|
||||||
"quota.freeup.label", gSyncQuota.convertKB(freeup));
|
"quota.freeup.label", gSyncQuota.convertKB(freeup));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue