not working.
I added alerts inside the method to see if it gets called, but in vein.
I hope my changes are correct, here's what i changed:
Wicket.Event.add(window, "unload", function() {
                var WTH = Wicket.TimerHandles;
                if (WTH) {
                        for (var th in WTH) {
                                if (WTH.hasOwnProperty(th)) {
                                        window.clearTimeout(WTH[th]);
                                        delete WTH[th];
                                }
                        }
                }
        });

Only changes is the event from beforeunload to unload.
I hope i am doing it correctly.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Overriding-wicket-ajax-jquery-js-tp4672051p4672060.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to