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.

                //objectLoadingTimer = 
                //document.fire.defer('load:objects_loading');
                //document.fire.delay(0,'load:objects_loading');
                //document.fire('load:objects_loading');
                //Event.fire(document,'load:objects_loading');
                //Event.fire.defer(document,'load:objects_loading');
                //Event.fire.delay(.01,document,'load:objects_loading');
                
                objectLoadingTimer = 
Event.fire.delay(.01,document,'load:objects_loading');
                alert(objectLoadingTimer); => 6448


Here is the failure

Line: 5734
Error: Object doesn't support property or method 'dispatchEvent'

-- 
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/-/N8jY8XiJ0HkJ.
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.

Reply via email to