From: Jan Schneider Date: Tue, 2 Mar 2010 18:25:09 +0000 (+0100) Subject: Remove notification immediately when snoozing. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fdc484b347c11343924a64789f33405153e54b51;p=horde.git Remove notification immediately when snoozing. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 256e6deab..1dadde09f 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -169,13 +169,11 @@ KronolithCore = { if (alarm.user) { select.observe('change', function() { if (select.getValue()) { + this.Growler.ungrowl(growl); new Ajax.Request( Kronolith.conf.URI_SNOOZE, { parameters: { alarm: alarm.id, - snooze: select.getValue() }, - onSuccess: function() { - this.Growler.ungrowl(growl); - }.bind(this)}); + snooze: select.getValue() } }); } }.bind(this)); }