| Index: chrome/content/ui/filters-filterview.js |
| =================================================================== |
| --- a/chrome/content/ui/filters-filterview.js |
| +++ b/chrome/content/ui/filters-filterview.js |
| @@ -642,19 +642,19 @@ var FilterView = |
| this.noFiltersDummy = {index: 0, filter: {text: this.boxObject.treeBody.getAttribute("noFiltersText"), dummy: true}}; |
| this.editDummy = {filter: {text: ""}}; |
| let atomService = Cc["@mozilla.org/atom-service;1"].getService(Ci.nsIAtomService); |
| let stringAtoms = ["col-filter", "col-enabled", "col-hitcount", "col-lasthit", "type-comment", "type-filterlist", "type-whitelist", "type-elemhide", "type-elemhideexception", "type-invalid"]; |
| let boolAtoms = ["selected", "dummy", "slow", "disabled"]; |
| this.atoms = {}; |
| - for each (let atom in stringAtoms) |
| + for (let atom of stringAtoms) |
| this.atoms[atom] = atomService.getAtom(atom); |
| - for each (let atom in boolAtoms) |
| + for (let atom of boolAtoms) |
| { |
| this.atoms[atom + "-true"] = atomService.getAtom(atom + "-true"); |
| this.atoms[atom + "-false"] = atomService.getAtom(atom + "-false"); |
| } |
| let columns = this.boxObject.columns; |
| for (let i = 0; i < columns.length; i++) |
| if (columns[i].element.hasAttribute("sortDirection")) |