hi vidar, i think the solution to this is to have a different javascript onclick handler function for each type of notification.
with your suggestion, you'd have to switch on some argument anyhow, so i think the current design is cleaner. td On Fri, Aug 14, 2009 at 1:37 AM, Vidar S. Ramdal<[email protected]> wrote: > > Hi all, > > Currently, it seems the onclick event handler receives no arguments: > > var clickHandler = function() { > console.log("Arguments: ", arguments.length); // This prints: > Arguments: 0 > } > > var notification = { > title: "Title", > description: "description", > priority: 3, > sticky: false, > onclick: clickHandler > }; > window.fluid.showGrowlNotification(notification); > > It would be great to be able to know what notification was clicked. > Any chance of having that implemented? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "fluidapp" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/fluidapp?hl=en -~----------~----~----~----~------~----~------~--~---
