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

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

Issue 29333265: Issue 3478 - Hide genericblock and generichide from the composer (Closed)
Patch Set: Hide (instead disable) generichide and genericblock Created Jan. 6, 2016, 4:12 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/composer.js
===================================================================
--- a/chrome/content/ui/composer.js
+++ b/chrome/content/ui/composer.js
@@ -138,7 +138,7 @@
let isDefaultType = (RegExpFilter.typeMap[item.type] & defaultTypes) != 0;
for (let type of types)
{
- if (type == "ELEMHIDE")
+ if (type == "ELEMHIDE" || type == "GENERICBLOCK" || type == "GENERICHIDE")
continue;
let typeNode = document.createElement("checkbox");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld