Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2485)

Unified Diff: chrome/browser/resources/options/content_settings.js

Issue 3068005: Flesh out the content settings exceptions lists a bit more. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: reduce instance vars Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/content_settings.js
diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
index 0c8eff8dd8e05ff679865842ad54a035c63b41c9..08f4f337afef75e7567e6d83a0dbe2f01510b7b1 100644
--- a/chrome/browser/resources/options/content_settings.js
+++ b/chrome/browser/resources/options/content_settings.js
@@ -52,7 +52,7 @@ ContentSettings.prototype = {
imagesExceptionsList.redraw();
};
- options.contentSettings.ExceptionsList.decorate($('imagesExceptionsList'));
+ options.contentSettings.ExceptionsArea.decorate($('imagesExceptionsArea'));
},
/**
@@ -93,6 +93,7 @@ ContentSettings.setInitialContentFilterSettingsValue = function(dict) {
* is the filter string, and the second is the setting (allow/block).
*/
ContentSettings.setImagesExceptions = function(list) {
+ imagesExceptionsList.clear();
for (var i = 0; i < list.length; ++i) {
imagesExceptionsList.addException(list[i]);
}

Powered by Google App Engine
This is Rietveld 408576698