posted 12 years ago
Hello,
Here's the problem: my jee web application has to load an applet in a separate window after an action. I am using Richfaces 3.3.1 so the code goes something like this:
So far, so good, but, for some security reasons i must make sure that this window is going to be the only opened window of this kind. I am not that good in JS so this must be taken from the internet.
windowOpener.js
basically, this just keeps track of the opened windows in popupWins array and closes the opened one before open a new one. It actually works, but i have been getting some feedback from the users that sometimes it doesn't open the new window. They describe it like ...opens for just a second.
I think i may be loosing the popupWins variable afer some time. I don't know if that is possible.
They are using ie8 (i know). Can you give some advice?
Thanks in advance