alecpl
2010-12-08 72b807aa6ac0a66cd2d2f2e898e6af678ed560a8
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