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: Changes to opt-in notification text Created Oct. 19, 2012, 3:14 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
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();
Wladimir Palant 2012/11/09 08:26:15 Please don't initialize TypoActions explicitly her
}
/**
@@ -83,7 +85,12 @@
let list = panel.getElementsByTagName("richlistbox")[0];
if (!list)
+ {
+ E("filtersContainer").style.visibility = "hidden";
return;
+ }
+
+ E("filtersContainer").style.visibility = "visible";
Wladimir Palant 2012/11/06 15:48:03 a) Please use |hidden = true| or at least |collaps
let data = Templater.getDataForNode(list.selectedItem);
FilterView.subscription = (data ? data.subscription : null);

Powered by Google App Engine
This is Rietveld