Changeset 0324621 in github


Ignore:
Timestamp:
Oct 23, 2011 9:13:10 AM (20 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
b407e79
Parents:
104e2353
Message:
  • Fix JS error when dst_active checkbox doesn't exist (#1488133)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/settings/func.inc

    re750d1b r0324621  
    179179    if (!isset($no_override['timezone'])) { 
    180180      $field_id = 'rcmfd_timezone'; 
    181       $select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id, 'onchange' => "document.getElementById('rcmfd_dst').disabled=this.selectedIndex==0")); 
     181      $select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id, 'onchange' => "$('#rcmfd_dst').attr('disabled', this.selectedIndex==0)")); 
    182182      $select_timezone->add(rcube_label('autodetect'), 'auto'); 
    183183      $select_timezone->add('(GMT -11:00) Midway Island, Samoa', '-11'); 
Note: See TracChangeset for help on using the changeset viewer.