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

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

Issue 8559070: Integrated URL Fixer into Adblock Plus (Closed)
Patch Set: Added ability to opt-in and opt-out Created Oct. 19, 2012, 9:14 a.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 | « chrome/content/ui/fennecSettings.xul ('k') | chrome/content/ui/filters.xul » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/filters.js
===================================================================
--- a/chrome/content/ui/filters.js
+++ b/chrome/content/ui/filters.js
@@ -15,6 +15,8 @@
if (filter instanceof Filter)
Utils.runAsync(SubscriptionActions.selectFilter, SubscriptionActions, filter);
}
+
+ TypoActions.init();
}
/**
@@ -83,7 +85,12 @@
let list = panel.getElementsByTagName("richlistbox")[0];
if (!list)
+ {
+ E("filtersContainer").style.visibility = "hidden";
return;
+ }
+
+ E("filtersContainer").style.visibility = "visible";
let data = Templater.getDataForNode(list.selectedItem);
FilterView.subscription = (data ? data.subscription : null);
« no previous file with comments | « chrome/content/ui/fennecSettings.xul ('k') | chrome/content/ui/filters.xul » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld