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 76d38cf44d4a11ded36f67c7443996ea1fbfd5ce..aed1572e0cec7e8369ed6ca1dcdce2ad468ef2f7 100644 |
--- a/chrome/browser/resources/options/content_settings.js |
+++ b/chrome/browser/resources/options/content_settings.js |
@@ -33,9 +33,10 @@ cr.define('options', function() { |
this.pageDiv.querySelectorAll('.exceptions-list-button'); |
for (var i = 0; i < exceptionsButtons.length; i++) { |
exceptionsButtons[i].onclick = function(event) { |
- ContentSettingsExceptionsArea.getInstance().showList( |
- event.target.getAttribute('contentType')); |
+// ContentSettingsExceptionsArea.getInstance().showList( |
+// event.target.getAttribute('contentType')); |
OptionsPage.showPageByName('contentExceptions'); |
+ location.hash(event.target.getAttribute('contentType')); |
sky
2011/01/31 20:36:25
You probably didn't intend to include this, did yo
|
}; |
} |
@@ -53,16 +54,6 @@ cr.define('options', function() { |
if (!templateData.enable_click_to_play) |
$('click_to_play').style.display = 'none'; |
}, |
- |
- /** |
- * Handles a hash value in the URL (such as bar in |
- * chrome://options/foo#bar). |
- * @param {string} hash The hash value. |
- */ |
- handleHash: function(hash) { |
- ContentSettingsExceptionsArea.getInstance().showList(hash); |
- OptionsPage.showPageByName('contentExceptions'); |
- }, |
}; |
/** |