Chromium Code Reviews| 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 bc917cdccc0bf92ef73915f96972fdad54febf17..32d706b1a03317a8aac9dc3db2bd2af67f6922da 100644 |
| --- a/chrome/browser/resources/options/content_settings.js |
| +++ b/chrome/browser/resources/options/content_settings.js |
| @@ -53,6 +53,14 @@ cr.define('options', function() { |
| }; |
| } |
| + var manageIntentsButton = |
| + this.pageDiv.querySelector('#manage-intents-button'); |
|
James Hawkins
2011/08/17 03:18:39
Just use $('manage-intents-button');
Greg Billock
2011/08/17 18:49:50
Done.
|
| + if (manageIntentsButton) { |
| + manageIntentsButton.onclick = function(event) { |
| + OptionsPage.navigateToPage('intents'); |
| + }; |
| + } |
| + |
| // Cookies filter page --------------------------------------------------- |
| $('show-cookies-button').onclick = function(event) { |
| chrome.send('coreOptionsUserMetricsAction', ['Options_ShowCookies']); |