From 98a1f4c9dcdd5d571c601c56b4ed9846e62508c4 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 25 Jun 2009 23:36:50 -0600 Subject: [PATCH] Fix duplicate notification messages on core & popup windows when using quickreply --- imp/js/src/compose-dimp.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/imp/js/src/compose-dimp.js b/imp/js/src/compose-dimp.js index 5f54db489..17ce0fd07 100644 --- a/imp/js/src/compose-dimp.js +++ b/imp/js/src/compose-dimp.js @@ -226,7 +226,9 @@ var DimpCompose = { this.button_pressed = false; if (DIMP.baseWindow) { DIMP.baseWindow.DimpBase.poll(); - DIMP.baseWindow.DimpCore.showNotifications(r.msgs); + if (!DIMP.conf_compose.qreply) { + DIMP.baseWindow.DimpCore.showNotifications(r.msgs); + } } if (DIMP.conf_compose.close_draft) { return this.closeCompose(); @@ -252,7 +254,9 @@ var DimpCompose = { DIMP.baseWindow.DimpBase.updateMsgLog(d.log, { index: d.index, mailbox: d.reply_folder }); } - DIMP.baseWindow.DimpCore.showNotifications(r.msgs); + if (!DIMP.conf_compose.qreply) { + DIMP.baseWindow.DimpCore.showNotifications(r.msgs); + } } return this.closeCompose(); -- 2.11.0