Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/watcher.js

Issue 29333128: Issue 3463 - Filtering broken in Diagnostics (Closed)
Patch Set: Created Jan. 4, 2016, 2:22 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/watcher.js
===================================================================
--- a/chrome/content/watcher.js
+++ b/chrome/content/watcher.js
@@ -405,17 +405,17 @@ var treeView = {
this.refilter();
},
filter: function(entry)
{
if (this._filterString)
{
let foundMatch = false;
- for (let label of entry.cols)
+ for (let [col, label] of new Iterator(entry.cols))
if (label.toLowerCase().indexOf(this._filterString) >= 0)
foundMatch = true;
if (!foundMatch)
return false;
}
return true;
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld