Posted 26 August 2019, 4:31 pm EST
Using AR9 (but I think it might apply to more) on an ASP backend, but the problem is with the front end HTML Viewer.
I have a list of reports and a “preview” button, which will open an ASP page (loading the JS viewer client etc) into a modal.
The problem is, when the JS client loads, it binds some function to the “window.unload” event. I imagine to close itself down etc.
But since I’m using a modal, this ends up binding multiple events, and everthing after the first one throws an alert window “Error:Report is not available” - I imagine because the previous even already closed it.
Very annoying when a user tries to navigate to a different page. IMO I don’t think there are many reasons that anything should bind to window.unload…