thomascube
2010-12-17 db1a87cd6c506f2afbd1a37c64cb56ae11120b49
program/js/editor.js
@@ -71,8 +71,10 @@
  if (elem && elem.type == 'select-one') {
    rcmail.change_identity(elem);
    // Focus previously focused element
    if (fe && fe.id != rcmail.env.composebody)
    if (fe && fe.id != rcmail.env.composebody) {
      window.focus(); // for WebKit (#1486674)
      fe.focus();
    }
  }
  // set tabIndex and set focus to element that was focused before