Don't show double notifications in dimp compose screen
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 19 May 2009 19:06:09 +0000 (13:06 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 19 May 2009 19:06:09 +0000 (13:06 -0600)
imp/js/src/compose-dimp.js

index f9e0d99..5e29f86 100644 (file)
@@ -285,7 +285,9 @@ var DimpCompose = {
             this.dbtext = this.sbtext = null;
         }
 
-        DimpCore.showNotifications(r.msgs);
+        if (!r.msgs_noauto) {
+            DimpCore.showNotifications(r.msgs);
+        }
     },
 
     onNoSpellError: function(action)