From: Michael M Slusarz Date: Fri, 26 Jun 2009 05:36:50 +0000 (-0600) Subject: Fix duplicate notification messages on core & popup windows when using quickreply X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=98a1f4c9dcdd5d571c601c56b4ed9846e62508c4;p=horde.git Fix duplicate notification messages on core & popup windows when using quickreply --- 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();