OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 * Calls base class implementation to starts preference initialization. | 29 * Calls base class implementation to starts preference initialization. |
30 */ | 30 */ |
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 OptionsPage.showPageByName('language'); |
40 }; | 40 }; |
41 }, | 41 }, |
42 }; | 42 }; |
OLD | NEW |