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

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

Issue 29333254: Issue 3459 - Don't duplicate content type definition (Closed)
Patch Set: Created Jan. 6, 2016, 1:29 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 | « chrome/content/ui/composer.js ('k') | lib/contentPolicy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/sidebar.js
===================================================================
--- a/chrome/content/ui/sidebar.js
+++ b/chrome/content/ui/sidebar.js
@@ -108,7 +108,7 @@
if (addBrowserLocationListener)
addBrowserLocationListener(mainWin, handleLocationChange, true);
- for (let type of Policy.contentTypes)
+ for (let type of Policy.contentTypes.values())
localizedTypes.set(type, Utils.getString("type_label_" + type.toLowerCase()));
}
« no previous file with comments | « chrome/content/ui/composer.js ('k') | lib/contentPolicy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld