we're currently developing an application that makes extensive use of popup windows(*) and have run into an issue on IE (this has been reported before but I couldn't find any solution).
The problem is this: our main window M opens a popup window P and keeps a reference to it. P then registers an event handler on an object in M. When the event fires, IE8 bombs out with the following error message:
which is the fire-function in EXTUTIL.Event.prototype. The code works fine in Firefox, Opera and Chrome.
JScript object expected
ext-all-debug.js (Line 1735, Char 17)
You can see a minimal example of this here (click "open popup" and then "fire event").
Any hints as to how I can resolve this issue?
(*) Yes, there's a good reason for that. And no, Ext.Window is not an option.