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

Unified Diff: chrome/content/ui/sidebar.js

Issue 29329630: Issue 3222 - Remove ancient dead code (Closed)
Patch Set: Created Nov. 2, 2015, 3 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/ui/sidebar.js
===================================================================
--- a/chrome/content/ui/sidebar.js
+++ b/chrome/content/ui/sidebar.js
@@ -492,19 +492,16 @@ function editFilter()
{
var item = treeView.getSelectedItem();
if (treeView.data && !treeView.data.length)
item = treeView.getDummyTooltip();
if (!("filter" in item) || !item.filter)
return;
- if (!("location") in item)
- item.location = undefined
-
UI.openFiltersDialog(item.filter);
}
function enableFilter(filter, enable) {
filter.disabled = !enable;
treeView.boxObject.invalidate();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld