FLUID-4: Lightbox javascript does not run in Internet Explorer 7

Metadata

Source
FLUID-4
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Joseph Scheuhammer
Reporter
Jonathan Hung
Created
2007-06-26T12:38:07.000-0400
Updated
2007-06-27T09:43:21.000-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Image Reorderer

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).

Environments

Windows XP Pro SP2 with Internet Explorer 7

Comments

  • Joseph Scheuhammer commented 2007-06-26T13:28:56.000-0400

    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.

  • Antranig Basman commented 2007-06-27T09:11:36.000-0400

    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...

  • Antranig Basman commented 2007-06-27T09:43:21.000-0400

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