When I am in a gadget container, responses to the window "message" event type seem to build up.
What I mean is, say I have an iframe or another window calling window.postMessage, and I have already called addEventListener on my window object in the Gadget, and linked it to a local functions call. When I trigger postMessage the first time, it is infact called once. When I call it a second time, my handler is called two separate times, third time, 3 separate calls, etc. So, for the 3 post Messages, my handler is called 6 times (1+2+3). Also, inside of the handler, I remove the listener. Though I add it back before kicking off the event again. Anyone experience this or have any idea of how to get around it? Appreciated, Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---