diff options
author | alecpl <alec@alec.pl> | 2008-10-10 10:51:39 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-10 10:51:39 +0000 |
commit | 9e951be64d8baa11f253f00f4634f63694e7e3bc (patch) | |
tree | cf4ddb0a88de0618590e4f3c3c5f72a63977afe5 /program/js | |
parent | 9f23f0522112441fac313330424a680da809d4f4 (diff) |
- Fix adding signature in drafts compose mode (#1485484)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 549de08e1..cd7f90a6f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -423,6 +423,7 @@ function rcube_webmail() var input_replyto = rcube_find_object('_replyto'); var input_subject = rcube_find_object('_subject'); var input_message = rcube_find_object('_message'); + var draftid = rcube_find_object('_draft_saveid'); // init live search events if (input_to) @@ -433,7 +434,7 @@ function rcube_webmail() this.init_address_input_events(input_bcc); // add signature according to selected identity - if (input_from && input_from.type=='select-one') + if (input_from && input_from.type=='select-one' && (!draftid || draftid.value=='')) this.change_identity(input_from); if (input_to && input_to.value=='') |