diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-10 12:28:06 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-10 12:28:06 +0100 |
commit | 7d398710beb67e03bf1690f73cdfd1ef2b76d31a (patch) | |
tree | c09202ddce4db106f75efe467160cf2330de794c /application/basilisk/base/content | |
parent | 5df97df2fc3f0e9a3895da0d478d76694cf9c171 (diff) | |
download | UXP-7d398710beb67e03bf1690f73cdfd1ef2b76d31a.tar UXP-7d398710beb67e03bf1690f73cdfd1ef2b76d31a.tar.gz UXP-7d398710beb67e03bf1690f73cdfd1ef2b76d31a.tar.lz UXP-7d398710beb67e03bf1690f73cdfd1ef2b76d31a.tar.xz UXP-7d398710beb67e03bf1690f73cdfd1ef2b76d31a.zip |
Remove non-functional removal summary from quota dialog.
Diffstat (limited to 'application/basilisk/base/content')
-rw-r--r-- | application/basilisk/base/content/sync/quota.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/application/basilisk/base/content/sync/quota.js b/application/basilisk/base/content/sync/quota.js index 1285a8d54..b416a44cc 100644 --- a/application/basilisk/base/content/sync/quota.js +++ b/application/basilisk/base/content/sync/quota.js @@ -174,38 +174,6 @@ var gUsageTreeView = { let collection = this._collections[row]; collection.enabled = !collection.enabled; this.treeBox.invalidateRow(row); - - // Display which ones will be removed - let freeup = 0; - let toremove = []; - for each (collection in this._collections) { - if (collection.enabled) - continue; - toremove.push(collection.name); - freeup += collection.size; - } - - let caption = document.getElementById("treeCaption"); - if (!toremove.length) { - caption.className = ""; - caption.firstChild.nodeValue = gSyncQuota.bundle.getString( - "quota.treeCaption.label"); - return; - } - - // Tycho: toremove = [this._byname[coll].title for each (coll in toremove)]; - 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( - "quota.removal.label", [toremovetitles]); - if (freeup) - caption.firstChild.nodeValue += gSyncQuota.bundle.getFormattedString( - "quota.freeup.label", gSyncQuota.convertKB(freeup)); - caption.className = "captionWarning"; }, /* |