diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 04:23:41 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 04:23:41 +0000 |
commit | e9cde95de7d0cb25bda3078412b1c76609670b41 (patch) | |
tree | cb5385f76169df67fc3ad45fed8e882e369b24ae /chrome/browser/resources | |
parent | 4cfa0ba10fe92327f382a372af163c7915a6f6a8 (diff) | |
download | chromium_src-e9cde95de7d0cb25bda3078412b1c76609670b41.zip chromium_src-e9cde95de7d0cb25bda3078412b1c76609670b41.tar.gz chromium_src-e9cde95de7d0cb25bda3078412b1c76609670b41.tar.bz2 |
Fix runtime JavaScript errors in chrome://options.
With chrome built with CHROMEOS=1, the following error occurs
in in chrome://options as sync-button and dummy-button don't exist.
Remove the binding code to fix the error.
[28843:28843:611993994873:INFO:CONSOLE(0)] "Uncaught TypeError: Cannot set property 'onclick' of null," source: chrome://options/system (528)
TEST=manually on ubuntu by "out/Release/chrome --test-type"
BUG=none
Review URL: http://codereview.chromium.org/2900008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r-- | chrome/browser/resources/options/chromeos_system_options.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/resources/options/chromeos_system_options.js b/chrome/browser/resources/options/chromeos_system_options.js index 6f1cb31..48af6ae 100644 --- a/chrome/browser/resources/options/chromeos_system_options.js +++ b/chrome/browser/resources/options/chromeos_system_options.js @@ -38,11 +38,5 @@ SystemOptions.prototype = { $('language-button').onclick = function(event) { // TODO: Open ChromeOS language settings page. }; - $('sync-button').onclick = function(event) { - OptionsPage.showPageByName('sync'); - } - $('dummy-button').onclick = function(event) { - OptionsPage.showOverlay('dummy'); - } }, }; |