diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-09-13 15:32:43 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-09-13 15:32:43 +0200 |
commit | 41b3fe17824b1c8c00037addc0e9bdbc5506ece9 (patch) | |
tree | 1d36661fd8873c584f31e5de883e95af3009fe88 /program/js | |
parent | d7439260770eb1f70cdc5abf5df13e6c62ff3991 (diff) |
Fix so "Edit as new" on draft creates a new message (#1488687)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 48de21764..2182a2b88 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -669,7 +669,7 @@ function rcube_webmail() this.load_identity(props, 'edit-identity'); else if (this.task == 'mail' && (cid = this.get_single_uid())) { url = { _mbox: this.env.mailbox }; - url[this.env.mailbox == this.env.drafts_mailbox ? '_draft_uid' : '_uid'] = cid; + url[this.env.mailbox == this.env.drafts_mailbox && props != 'new' ? '_draft_uid' : '_uid'] = cid; this.goto_url('compose', url, true); } break; |