Fix identity selection when opening extwindow from compose window

pull/89/head
Aleksander Machniak 11 years ago
parent c795d528f9
commit d3d1e38d72

@ -80,7 +80,7 @@ function rcmail_editor_callback()
if (rcmail.env.default_font) if (rcmail.env.default_font)
$(tinyMCE.get(rcmail.env.composebody).getBody()).css('font-family', 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); rcmail.change_identity(elem);
// Focus previously focused element // Focus previously focused element
if (fe && fe.id != rcmail.env.composebody) { if (fe && fe.id != rcmail.env.composebody) {

@ -526,7 +526,7 @@ function rcmail_compose_header_from($attrib)
} }
} }
$out = $select_from->show($MESSAGE->compose['from']); $out = $select_from->show((int)$MESSAGE->compose['from']);
// add signatures to client // add signatures to client
$OUTPUT->set_env('signatures', $a_signatures); $OUTPUT->set_env('signatures', $a_signatures);

Loading…
Cancel
Save