mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 10:37:33 +09:00
[PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
Issue #308
This commit is contained in:
parent
867de19f7e
commit
9055a7f592
1 changed files with 8 additions and 1 deletions
|
|
@ -213,7 +213,14 @@ var gUsageTreeView = {
|
||||||
* disabled.
|
* disabled.
|
||||||
*/
|
*/
|
||||||
getEnginesToDisable: function getEnginesToDisable() {
|
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
|
// nsITreeView
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue