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(); |
} |