Skip to content
Browse files

fix Fluid notifications

Obviously it doesn't like when the showGrowlNotification method
is invoked in a context other than `fluid`. Wrap the function instead.
  • Loading branch information...
1 parent 9f8f443 commit 16612268e5e954f6694cefb6153e5c2bfed512ba @mislav committed Jun 22, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 toolkit/notification.js
View
4 toolkit/notification.js
@@ -7,7 +7,9 @@ var Notification = (function() {
if (!supported) {
var show = function() {}
} else if (fluid) {
- var show = window.fluid.showGrowlNotification
+ var show = function(params) {
+ window.fluid.showGrowlNotification(params)
+ }
} else {
var show = function(params) {
window.platform.showNotification(params.title, params.description, params.icon)

0 comments on commit 1661226

Please sign in to comment.
Something went wrong with that request. Please try again.