MODx Bug/Feature Tracker and Feature Requests
Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!
FS#863 — IE7 gives JS error on navigating away from Manager
Attached to Project —
MODx
Opened by Nick Crossland (ncrossland) - Wednesday, 16 May 2007, 10:45AM
Last edited by Jason Coward (opengeek) - Thursday, 15 May 2008, 11:45AM
Opened by Nick Crossland (ncrossland) - Wednesday, 16 May 2007, 10:45AM
Last edited by Jason Coward (opengeek) - Thursday, 15 May 2008, 11:45AM
| Task Type | Bug Report |
|---|---|
| Category | Core Distribution |
| Status | Closed |
| Assigned To |
Jason Coward (opengeek) |
| Operating System | All |
| Severity | Medium |
|---|---|
| Priority | Normal |
| Reported Version | 0.9.5 |
| Due in Version | 0.9.6.2 |
| Due Date | Undecided |
| Percent Complete |
|
Details
IE7 gives a javascript error on navigating away from the manager.A runtime error has occured.
Line: 494
Object doesn't support this property or method
This happens every time. It appears that the unload event (showing the "working" panel) is using the Moo $ function to try and find an element that has already been unloaded.
This task depends upon
This task blocks these from closing
Translated details:
Line: 127
Char: 9
Error: object doesn't support property or method
Code: 0
URL: .../manager/indes.php?a=1&f=menu
window.addEvent('unload', document_onunload);
changed it to this
window.addEvent('beforeunload', document_onunload);
and the error goes away :)
- Field changed: Status (Implementing → Requires testing)
- Field changed: Percent Complete (0% → 100%)
Committed fix at revision 3705 (for 0.9.6.2 inclusion)