[PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)

Issue #308
This commit is contained in:
janekptacijarabaci 2018-06-09 07:55:51 +02:00 committed by Roy Tam
commit 9055a7f592

View file

@ -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