Re: [Proto-Scripty] Re: Fire and Defer

2011-07-29 Thread Miguel Beltran R.
are you using document.fire or Element.fire? because in your other email you said document.fire Element.fire(element, eventName[, memo[, bubble = true]]) document.fire(eventName[, memo[, bubble = true]]) 2011/7/29 kstubs kst...@gmail.com More on this: I keep getting stuck in: function

Re: [Proto-Scripty] Re: Fire and Defer

2011-07-29 Thread Walter Lee Davis
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

Re: [Proto-Scripty] Re: Fire and Defer

2011-07-29 Thread kstubs
OK, with a little confidence, I'll try again. I am mixing and matching Event and document firing. -- 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

Re: [Proto-Scripty] Re: Fire and Defer

2011-07-29 Thread kstubs
Tested each of these... winning combination is to use Event static method in this case. Bother defer and delay work. So not sure if I have found a bug or not (IE9, regular and compatible modes) so try these out yourself. These have never been an issue in FF and Chrome.