summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-09-17 22:04:16 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-09-17 22:04:16 +0200
commit8f098e8dead85b6512ac72b2d805314baec72a2f (patch)
tree96b89dbcc2a58dab0f2dd1183beef3036c13287f /program/js/app.js
parent99d9f50a0000447d0a752e6c43716237dc0da176 (diff)
parent6898b420ed4eb2bd2d1933758cde27bdd305d72a (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
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;