Try it long-hand:
Element.fire.defer('yourElement','your:event');
I haven't tried it, but that's how delay is invoked. You could also
just do
Element.fire.delay(0,'yourElement','your:event');
which I believe is functionally identical to defer().
Walter
On Jul 29, 2011, at 3:55 PM, kstubs wrote:
More on this:
I keep getting stuck in:
function fire(element, eventName, memo, bubble) {
...
if (document.createEvent)
element.dispatchEvent(event); <<<<< STUCK HERE: object
doesn't support dispatchEvent
else
element.fireEvent(event.eventType, event);
--
You received this message because you are subscribed to the Google
Groups "Prototype & script.aculo.us" group.
To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/aw8Cm8tqkhMJ
.
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/prototype-scriptaculous?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" 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/prototype-scriptaculous?hl=en.