Lightbox javascript does not run in Internet Explorer 7

Description

Can not run the JSUnit tests, the stand-alone HTML, nor the Gallery Tool in Internet Explorer 7. This is because the Lightbox Javascript referenced in the Script tag does not load properly.

This appears to involve the script tags at the top of the Lightbox.HTML.

Last known working version: Rev. #10219 (June 22, '07).

Environment

Windows XP Pro SP2 with Internet Explorer 7

Activity

Show:

Antranig Basman June 27, 2007 at 1:43 PM

Fixed in rev 10341 - It was the trailing comma in the function member list!!!

Antranig Basman June 27, 2007 at 1:11 PM

The current trunk does not work in IE6 either, which I assume is the same issue. Looks like dojo.xhrPost is not supported for IE, or perhaps it is just the use of "form". Looking into this a bit...

Joseph Scheuhammer June 26, 2007 at 5:28 PM

The problem is caused by the definition of the ".orderChangedCallback()" function defined within "FluidProject.initLightbox()". Specifically the call to "dojo.xhrPost()" caused IE to hiccough when loading Lightbox.js. Commenting out the lines, thus:

// dojo.xhrPost({
// url: reorderform.action,
// form: reorderform,
// load: function(type, data, evt){ /* No-op response */ },
// });

made IE happier. That is, the jsUnit tests run, the standalone version ot the lightlbox works, and the lightbox js loads and works within the gallery tool.

Why this call is a problem in IE but not FF is unresolved.

Fixed

Details

Assignee

Reporter

Components

Priority

Created June 26, 2007 at 4:38 PM
Updated June 27, 2007 at 1:43 PM
Resolved June 27, 2007 at 1:43 PM