From: Jan Schneider Date: Wed, 3 Nov 2010 23:03:34 +0000 (+0100) Subject: The growls are closing now onclick, catch click events if necessary. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=296b38015872a7e23376d7bcf365ac0d42437413;p=horde.git The growls are closing now onclick, catch click events if necessary. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index e4817783c..80b4b02da 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -205,9 +205,11 @@ KronolithCore = { { parameters: { alarm: alarm.id, snooze: e.element().getValue() } }); } - }.bindAsEventListener(this)); + }.bindAsEventListener(this)) + .observe('click', function(e) { + e.stop(); + }); message.down('input[type=button]').observe('click', function(e) { - this.Growler.ungrowl(growl); new Ajax.Request( Kronolith.conf.URI_SNOOZE, { parameters: { alarm: alarm.id,