Skip to content

Commit

Permalink
We don't send these events in dynamic view anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 17, 2014
1 parent 53236fa commit 204470e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions imp/js/dimpcore.js
Expand Up @@ -415,20 +415,6 @@ document.observe('ImpPassphraseDialog:success', function() {
DimpCore.reloadMessage({});
});

/* Notification events. */
document.observe('HordeCore:showNotifications', function(e) {
switch (e.memo.type) {
case 'imp.reply':
case 'imp.forward':
case 'imp.redirect':
HordeBase.Growler.growl(m.message.escapeHTML(), {
className: m.type.replace('.', '-'),
life: 8
});
break;
}
});

/* Disable text selection for everything but compose/message body and FORM
* inputs. */
document.observe(Prototype.Browser.IE ? 'selectstart' : 'mousedown', function(e) {
Expand Down

0 comments on commit 204470e

Please sign in to comment.