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 08c6015ac3aa85aa756e58c85565750ff11a08ff..e8f5e52482b03b73b3c463d0d6b89180ece6e383 100644 |
--- a/chrome/browser/resources/options/content_settings.js |
+++ b/chrome/browser/resources/options/content_settings.js |
@@ -45,14 +45,20 @@ cr.define('options', function() { |
}; |
} |
- var manageHandlersButton = |
- this.pageDiv.querySelector('#manage-handlers-button'); |
+ var manageHandlersButton = $('manage-handlers-button'); |
if (manageHandlersButton) { |
manageHandlersButton.onclick = function(event) { |
OptionsPage.navigateToPage('handlers'); |
}; |
} |
+ var manageIntentsButton = $('manage-intents-button'); |
+ if (manageIntentsButton) { |
+ manageIntentsButton.onclick = function(event) { |
+ OptionsPage.navigateToPage('intents'); |
+ }; |
+ } |
+ |
// Cookies filter page --------------------------------------------------- |
$('show-cookies-button').onclick = function(event) { |
chrome.send('coreOptionsUserMetricsAction', ['Options_ShowCookies']); |
@@ -63,7 +69,7 @@ cr.define('options', function() { |
$('click_to_play').hidden = true; |
if (!templateData.enable_web_intents) |
- $('intent-filter').hidden = true; |
+ $('intent-section').hidden = true; |
}, |
}; |