summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/chromeos_system_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/options/chromeos_system_options.js')
-rw-r--r--chrome/browser/resources/options/chromeos_system_options.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/resources/options/chromeos_system_options.js b/chrome/browser/resources/options/chromeos_system_options.js
index 2098303..fa69ad4 100644
--- a/chrome/browser/resources/options/chromeos_system_options.js
+++ b/chrome/browser/resources/options/chromeos_system_options.js
@@ -32,13 +32,11 @@ cr.define('options', function() {
var timezone = $('timezone-select');
if (timezone) {
timezone.initializeValues(templateData.timezoneList);
+
// Disable the timezone setting for non-owners, as this is a
// system wide setting.
- if (!AccountsOptions.currentUserIsOwner()) {
+ if (!AccountsOptions.currentUserIsOwner())
timezone.disabled = true;
- // Mark that this is manually disabled. See also pref_ui.js.
- timezone.manually_disabled = true;
- }
}
$('language-button').onclick = function(event) {