|
|
@ -3069,7 +3069,7 @@ function rcube_webmail()
|
|
|
|
this.set_caret_pos(input_message, this.env.top_posting ? 0 : $(input_message).val().length);
|
|
|
|
this.set_caret_pos(input_message, this.env.top_posting ? 0 : $(input_message).val().length);
|
|
|
|
// add signature according to selected identity
|
|
|
|
// add signature according to selected identity
|
|
|
|
// if we have HTML editor, signature is added in callback
|
|
|
|
// if we have HTML editor, signature is added in callback
|
|
|
|
if (input_from.prop('type') == 'select-one' && !this.env.opened_extwin) {
|
|
|
|
if (input_from.prop('type') == 'select-one') {
|
|
|
|
this.change_identity(input_from[0]);
|
|
|
|
this.change_identity(input_from[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3400,6 +3400,15 @@ function rcube_webmail()
|
|
|
|
if (!show_sig)
|
|
|
|
if (!show_sig)
|
|
|
|
show_sig = this.env.show_sig;
|
|
|
|
show_sig = this.env.show_sig;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// first function execution
|
|
|
|
|
|
|
|
if (!this.env.identities_initialized) {
|
|
|
|
|
|
|
|
this.env.identities_initialized = true;
|
|
|
|
|
|
|
|
if (this.env.show_sig_later)
|
|
|
|
|
|
|
|
this.env.show_sig = true;
|
|
|
|
|
|
|
|
if (this.env.opened_extwin)
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var cursor_pos, p = -1,
|
|
|
|
var cursor_pos, p = -1,
|
|
|
|
id = obj.options[obj.selectedIndex].value,
|
|
|
|
id = obj.options[obj.selectedIndex].value,
|
|
|
|
input_message = $("[name='_message']"),
|
|
|
|
input_message = $("[name='_message']"),
|
|
|
|