projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b893f69
)
Remove notification immediately when snoozing.
author
Jan Schneider
<jan@horde.org>
Tue, 2 Mar 2010 18:25:09 +0000
(19:25 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 2 Mar 2010 23:02:33 +0000
(
00:02
+0100)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
256e6de
..
1dadde0
100644
(file)
--- 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));
}