Closed (fixed)
Project:
Lightbox2
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Sep 2007 at 18:47 UTC
Updated:
11 Oct 2007 at 16:21 UTC
When lightbox plus is enabled an error is caused in the google maps module:
Line: 129
Char: 5
Error: '0' is null or not an object
Code:0
When lightbox is disabled this problem disappears and the map is displayed correctly.
Comments
Comment #1
stella commentedI'll take a look. In the meantime try the patch from #166461. This will allow you to disable the lightbox on certain pages on your site. Just enter in the path to the node containing the gmap that you don't want lightbox loaded on. You can use % as a wildcard.
Cheers,
Stella
Comment #2
bdragon commentedThe following code from lightbox.js causes jQuery to malfunction when enumerating arrays. Extending the Array builtin (or any other core object) in this fashion is a VERY BAD idea, because it breaks language level assumptions.
Comment #3
stella commentedThis should no longer be in an issue with the new version of lightbox2 which now uses jQuery, removing the need for prototype/scriptaculous libraries. This has been released in 5.x-2.0 and 6.x-1.0.
Cheers,
Stella
Comment #4
(not verified) commented