Titlecssinclude.js fails in IE because it includes a <script> tag
Date08-Feb-2005 13:13:13 EET
Bug criticalityMediumBug
Browser versionIE6
Bug statusClosedBug
PageProvider used
Servlet ContainerTomcat 4.1.27
Operating SystemWindows XP, SP2
URLall pages
Java version1.4.1

I've just upgraded my JspWiki instance to 2.1.144-alpha.

Everything works fine using Mozilla Firefox 1.0.

Under IE6, I get a syntax error with the included scripts/cssinclude.js. (I am running IE with script debugging turned on.)

On investigation, cssinclude.js starts includes a <script type="text/javascript"> tag, and ends with a </script> tag. My guess is that it shouldn't, since it is included using a <script src="scripts/cssinclude.js" type="text/javascript"></script> statement in the HTML. search_highlights.js doesn't start with a <script> tag.

When I removed the additional <script> tags, it works OK in both IE and Firefox.

Oops! Confirmed. Bug fix coming along...

-- JanneJalkanen

Fixed in 2.1.147.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 14-Feb-2005 09:16 by Administrator