I have a page where I open a popup window and the original window is supposed to stay usable. In IE and Chrome, I can switch back and forth between the parent and child, but in Firefox, if I click on the parent window, focus goes to the child (which just flashes tauntingly).
I look at Firefox’s popup options, and the only one that seemed relevant is dependent, which wasn’t set. Setting dependant=no didn’t change anything either.
I’m creating my window with:
features = 'location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,dependent=no,width=1024,height=894,top=65,left=128';
windowRef = window.open(url, windowName, features);
I figured out what was happening. My original window was created using
showModalDialog(), and then I created a new window usingwindow.open()inside of that. For some reason Firefox decided that since the original was modal, the child should be modal too. Time to see if this is a bug or a “feature”.