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]); |
} |