Hi!

I have noticed lots of document.body=null situations with domready in
IE, I am currently trying out the following fix to wicket-event.js:

                                var domReady = function() {
                                    function onBodyLoadedSafely() {
                                        if (document.body) {
                                                        if (window.loaded)
                                                                return;
                                                        window.loaded = true;
                                                        
                                                        // invoke the handlers
                                                        
Wicket.Event.fireDomReadyHandlers();
                                        } else {
                                                
window.setTimeout(onBodyLoadedSafely, 100);
                                        }
                                    }
                                
                                    onBodyLoadedSafely();
                                }.bind(this);


Domready is postponed until document.body


**
Martin

Reply via email to