diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-09 07:55:51 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-09 07:55:51 +0200 |
commit | bc8718fedae474a5bbd67f00ef45a8c96f38607f (patch) | |
tree | b70673f9e709839500dfcd7e8d627bd7fe51fc42 | |
parent | ca8d6d0105ffaa618fab2d83feba2e35c9a607c5 (diff) | |
download | UXP-bc8718fedae474a5bbd67f00ef45a8c96f38607f.tar UXP-bc8718fedae474a5bbd67f00ef45a8c96f38607f.tar.gz UXP-bc8718fedae474a5bbd67f00ef45a8c96f38607f.tar.lz UXP-bc8718fedae474a5bbd67f00ef45a8c96f38607f.tar.xz UXP-bc8718fedae474a5bbd67f00ef45a8c96f38607f.zip |
[PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
Issue #308
-rw-r--r-- | application/palemoon/base/content/sync/quota.js | 9 |
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 |