alecpl
2010-11-30 43fb35b5cb97522e1fa3e358c8511788b7d02a3d
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