The growls are closing now onclick, catch click events if necessary.
authorJan Schneider <jan@horde.org>
Wed, 3 Nov 2010 23:03:34 +0000 (00:03 +0100)
committerJan Schneider <jan@horde.org>
Wed, 3 Nov 2010 23:03:57 +0000 (00:03 +0100)
kronolith/js/kronolith.js

index e481778..80b4b02 100644 (file)
@@ -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,