Hello!
Could someone please help me on the following case.
I have a page that opens a popup/child-window (window.open(...)). This
childwindow redirects the mainwindow and closes itself if everything is
ok.
BUT, the problem is when a user closes the childwindow using the x
before redirect has activatet from the childwindow. Then the mainwindow
is stuck on the waiting page.
However, I get the mainwindow to check if child is closed using
onfocus, and then redirect to a error page, but this even fires if the
childwindow redirects ok and closes. (Because of the onfocus event).
So the problem is that it will always redirect to the same page
(errorpage) and not take any notice of the redirect from the
childwindow.
So is there a way for me to check if the page is allready being
redirected or that the childwindow just closed with no redirect?
Thanks!
/Mr. T