Opened 17 years ago

Closed 16 years ago

#40 closed defect (fixed)

JavaScript errors in Internet Explorer 7

Reported by: jtheelen Owned by: geonetwork-devel@…
Priority: major Milestone: v2.1.0 Final
Component: User interface (web) Version: 2.1.1
Keywords: Internet Explorer, Javascript Cc: an.heirman@…

Description

Out of the box, Geonetwork 2.1 final release does not work in Internet Explorer 7. Even loading the initial main page, produces (non critical) JavaScript errors. But, when trying to add a metadata WMS to the embedded Intermap viewer, a similar error appears and the layer is not added. Thus, for this functionality, the error appears to be critical.

The error is something like "A Runtime Error has occurred... Expected identifier, string or number". Go figure...

Using Microsoft Script Editor, I found the solution: put the complete JavaScript function called "gn_addCloser(domnode, callback)" in file "/scripts/gn_intermap.js" in comment. Apparently, the application keeps working without this function, in IE and Firefox.

Change History (1)

comment:1 by ticheler, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.