Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: chrome/browser/resources/options/chromeos_system_options.js

Issue 2900008: Fix runtime JavaScript errors in chrome://options (Closed)
Patch Set: remove instead of commenting out Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /////////////////////////////////////////////////////////////////////////////// 5 ///////////////////////////////////////////////////////////////////////////////
6 // SystemOptions class: 6 // SystemOptions class:
7 7
8 /** 8 /**
9 * Encapsulated handling of ChromeOS system options page. 9 * Encapsulated handling of ChromeOS system options page.
10 * @constructor 10 * @constructor
(...skipping 20 matching lines...) Expand all
31 initializePage: function() { 31 initializePage: function() {
32 OptionsPage.prototype.initializePage.call(this); 32 OptionsPage.prototype.initializePage.call(this);
33 var timezone = $('timezone-select'); 33 var timezone = $('timezone-select');
34 if (timezone) { 34 if (timezone) {
35 timezone.initializeValues(templateData.timezoneList); 35 timezone.initializeValues(templateData.timezoneList);
36 } 36 }
37 37
38 $('language-button').onclick = function(event) { 38 $('language-button').onclick = function(event) {
39 // TODO: Open ChromeOS language settings page. 39 // TODO: Open ChromeOS language settings page.
40 }; 40 };
41 $('sync-button').onclick = function(event) {
42 OptionsPage.showPageByName('sync');
43 }
44 $('dummy-button').onclick = function(event) {
45 OptionsPage.showOverlay('dummy');
46 }
47 }, 41 },
48 }; 42 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698