From 799e1201459b1ee6422d2725b502376b34950f23 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 26 Oct 2011 07:48:27 -0400 Subject: [PATCH] Backporting changes trom trunk (r5357-r5365) --- program/steps/settings/func.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index cb8b918..bb144d4 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -178,7 +178,7 @@ // show page size selection if (!isset($no_override['timezone'])) { $field_id = 'rcmfd_timezone'; - $select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id, 'onchange' => "document.getElementById('rcmfd_dst').disabled=this.selectedIndex==0")); + $select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id, 'onchange' => "$('#rcmfd_dst').attr('disabled', this.selectedIndex==0)")); $select_timezone->add(rcube_label('autodetect'), 'auto'); $select_timezone->add('(GMT -11:00) Midway Island, Samoa', '-11'); $select_timezone->add('(GMT -10:00) Hawaii', '-10'); -- Gitblit v1.9.1