Ticket #387 (closed defect: fixed)
Imagedialog IE bug, "A runtime error has occured"
| Reported by: | Kim Steinhaug | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xinha Core | Version: | |
| Severity: | major | Keywords: | error, ie, image |
| Cc: |
Description
When using IE there is still some bugs with the popup windows. Here is how to reproduce the bug,
Enter the latest example of Xinha on the site, insert an image somewhere. Be sure that the cursor is placed anywhere but the image. Rightclick on the image and choose the "Image properties", this will result in a javascrtipt error :
A runtime error has occured. Line 75 Error: Dialog._modal" is null or not an object
The line is this in the file dialog.js : Dialog._modal.focus();
If you left click on the image and then rightclick you wont get the error, so its important that the focus is somewhere else, then rightclick directly on the image and choose image properties.
