summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-12-16 17:55:19 -0500
committerGaming4JC <g4jc@bulletmail.org>2018-12-16 17:55:19 -0500
commitc1914df48eb95c087c662904863c20eb743c0888 (patch)
tree1d190f68bac0280e129093c3018e3b7b19069f85
parent10a0cb0afa8e46c288f0c5850e6835aad8c7968b (diff)
downloadiceweasel-uxp-c1914df48eb95c087c662904863c20eb743c0888.tar.gz
backport uxp: Remove non-functional removal summary from quota dialog.
-rw-r--r--base/content/sync/quota.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/base/content/sync/quota.js b/base/content/sync/quota.js
index 6c5ffb2..b416a44 100644
--- a/base/content/sync/quota.js
+++ b/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";
},
/*