summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-09 12:50:18 +0200
committerGitHub <noreply@github.com>2018-06-09 12:50:18 +0200
commit01f85b1bd80340af6a427a262f1bac1177f78f60 (patch)
tree3f52966c5527466452d9d4ec4cb5ee19537b5909 /application
parent16e2a93396f244ae39b91e039ba846eebf3d4237 (diff)
parentbc8718fedae474a5bbd67f00ef45a8c96f38607f (diff)
downloadUXP-01f85b1bd80340af6a427a262f1bac1177f78f60.tar
UXP-01f85b1bd80340af6a427a262f1bac1177f78f60.tar.gz
UXP-01f85b1bd80340af6a427a262f1bac1177f78f60.tar.lz
UXP-01f85b1bd80340af6a427a262f1bac1177f78f60.tar.xz
UXP-01f85b1bd80340af6a427a262f1bac1177f78f60.zip
Merge pull request #466 from janekptacijarabaci/pm_sync_quota_1
[PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/base/content/sync/quota.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/application/palemoon/base/content/sync/quota.js b/application/palemoon/base/content/sync/quota.js
index a42fbc722..1285a8d54 100644
--- a/application/palemoon/base/content/sync/quota.js
+++ b/application/palemoon/base/content/sync/quota.js
@@ -213,7 +213,14 @@ var gUsageTreeView = {
* disabled.
*/
getEnginesToDisable: function getEnginesToDisable() {
- return [coll.name for each (coll in this._collections) if (!coll.enabled)];
+ // Tycho: return [coll.name for each (coll in this._collections) if (!coll.enabled)];
+ let engines = [];
+ for each (let coll in this._collections) {
+ if (!coll.enabled) {
+ engines.push(coll.name);
+ }
+ }
+ return engines;
},
// nsITreeView