Index: chrome/content/ui/sidebar.js |
diff --git a/chrome/content/ui/sidebar.js b/chrome/content/ui/sidebar.js |
index 580a2679c341d0ade26804d7c4a6249ab41ba665..6fde33008062785f82c88966ccf96a8caa86abbd 100644 |
--- a/chrome/content/ui/sidebar.js |
+++ b/chrome/content/ui/sidebar.js |
@@ -1094,7 +1094,7 @@ var treeView = { |
// Show disabled filters if no other filter applies |
if (!item.filter) |
- item.filter = disabledMatcher.matchesAny(item.location, item.typeDescr, item.docDomain, item.thirdParty); |
+ item.filter = disabledMatcher.matchesAny(item.location, RegExpFilter.toTypeMask(item.typeDescr), item.docDomain, item.thirdParty); |
if (!this.matchesFilter(item)) |
return; |
@@ -1149,7 +1149,7 @@ var treeView = { |
if (item.filter instanceof RegExpFilter && item.filter.disabled) |
delete item.filter; |
if (!item.filter) |
- item.filter = disabledMatcher.matchesAny(item.location, item.typeDescr, item.docDomain, item.thirdParty); |
+ item.filter = disabledMatcher.matchesAny(item.location, RegExpFilter.toTypeMask(item.typeDescr), item.docDomain, item.thirdParty); |
} |
this.refilter(); |
}, |