summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-05-08 13:29:26 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-08 13:30:55 +0200
commitdcaab6b1835a19562eb6825741ce20b2cb8a213e (patch)
treec8b8f0dbc1e2ac3a866cb1b70b3a81a2a9d1277e /program
parent8a4cc52bd62bdf7b06bf8919f208cdfb035a5816 (diff)
Fix issue where signature wasn't re-added on draft compose (#1488322)
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 2a47fa985..72a277797 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2978,7 +2978,7 @@ function rcube_webmail()
this.set_caret_pos(input_message, this.env.top_posting ? 0 : $(input_message).val().length);
// add signature according to selected identity
// if we have HTML editor, signature is added in callback
- if (input_from.prop('type') == 'select-one' && $("input[name='_draft_saveid']").val() == '') {
+ if (input_from.prop('type') == 'select-one') {
this.change_identity(input_from[0]);
}
}