projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c33ed38
)
Don't flag as forwarded if no reply_type is returned
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Jun 2009 20:40:41 +0000
(14:40 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Jun 2009 21:15:28 +0000
(15:15 -0600)
imp/js/src/compose-dimp.js
patch
|
blob
|
history
diff --git
a/imp/js/src/compose-dimp.js
b/imp/js/src/compose-dimp.js
index
5e29f86
..
4590d47
100644
(file)
--- a/
imp/js/src/compose-dimp.js
+++ b/
imp/js/src/compose-dimp.js
@@
-236,7
+236,9
@@
var DimpCompose = {
case 'send_message':
this.button_pressed = false;
if (DIMP.baseWindow) {
- DIMP.baseWindow.DimpBase.flag(d.reply_type == 'reply' ? '\\answered' : '$forwarded', true, { index: d.index, mailbox: d.reply_folder, noserver: true });
+ if (d.reply_type) {
+ DIMP.baseWindow.DimpBase.flag(d.reply_type == 'reply' ? '\\answered' : '$forwarded', true, { index: d.index, mailbox: d.reply_folder, noserver: true });
+ }
if (d.folder) {
DIMP.baseWindow.DimpBase.createFolder(d.folder);