Aleksander Machniak
2013-07-09 d3d1e38d7266106baf2bf2256a568691f3e55220
Fix identity selection when opening extwindow from compose window
2 files modified
4 ■■■■ changed files
program/js/editor.js 2 ●●● patch | view | raw | blame | history
program/steps/mail/compose.inc 2 ●●● patch | view | raw | blame | history
program/js/editor.js
@@ -80,7 +80,7 @@
  if (rcmail.env.default_font)
    $(tinyMCE.get(rcmail.env.composebody).getBody()).css('font-family', rcmail.env.default_font);
  if (elem && elem.type == 'select-one' && !rcmail.env.opened_extwin) {
  if (elem && elem.type == 'select-one') {
    rcmail.change_identity(elem);
    // Focus previously focused element
    if (fe && fe.id != rcmail.env.composebody) {
program/steps/mail/compose.inc
@@ -526,7 +526,7 @@
      }
    }
    $out = $select_from->show($MESSAGE->compose['from']);
    $out = $select_from->show((int)$MESSAGE->compose['from']);
    // add signatures to client
    $OUTPUT->set_env('signatures', $a_signatures);