Changeset ad9dac5 in github


Ignore:
Timestamp:
Jun 30, 2012 3:48:06 AM (11 months ago)
Author:
Aleksander Machniak <alec@…>
Children:
f69eb5f
Parents:
8ba01c0
Message:

Fix wrong compose screen elements focus in IE9 (#1488541)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    rceaaebb rad9dac5  
    22=========================== 
    33 
     4- Fix wrong compose screen elements focus in IE9 (#1488541) 
    45- Fix fatal error when date.timezone isn't set (#1488546) 
    56- Update to TinyMCE 3.5.4.1 
  • program/js/editor.js

    rea3021c rad9dac5  
    8585    // Focus previously focused element 
    8686    if (fe && fe.id != rcmail.env.composebody) { 
    87       window.focus(); // for WebKit (#1486674) 
    88       fe.focus(); 
     87      // use setTimeout() for IE9 (#1488541) 
     88      window.setTimeout(function() { 
     89        window.focus(); // for WebKit (#1486674) 
     90        fe.focus(); 
     91      }, 10); 
    8992    } 
    9093  } 
Note: See TracChangeset for help on using the changeset viewer.