summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-13 15:32:43 +0200
committerAleksander Machniak <alec@alec.pl>2012-09-13 15:32:43 +0200
commit41b3fe17824b1c8c00037addc0e9bdbc5506ece9 (patch)
tree1d36661fd8873c584f31e5de883e95af3009fe88 /program/js/app.js
parentd7439260770eb1f70cdc5abf5df13e6c62ff3991 (diff)
Fix so "Edit as new" on draft creates a new message (#1488687)
Diffstat (limited to 'program/js/app.js')
-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 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;