There is a JS error I get on image-nodes.js at line 42 in version 5.x-2.3 or 5.x-2.x-dev (firebug image attached).

The error disappears when I revert back to version 5.x-2.2.

Amnon
-
Professional: Drupal Israel | Drupal Development & Consulting | Eco-Healing | Effective Hosting Strategies | בניית אתרים
Personal: Hitech Dolphin: Regain Simple Joy :)

CommentFileSizeAuthor
js-error.jpg27.24 KBdruvision

Comments

druvision’s picture

Version: 5.x-2.4 » 5.x-2.3
Status: Closed (won't fix) » Active

On one of my sites, version 5.x-2.3 doesn't load at all.

See the configuration at the demo link http://shopil.co.il/node/3304 (now back in version 5.x-2.2). The images are loaded as attached files, scaled via the imagecache module and displayed by the inline module.

stella’s picture

Title: JS Error » Javascript error - lightbox doesn't load at all
Priority: Normal » Critical

I would need to be able to see the site that produces the error with 5.x-2.3 installed. Failing that I would need to see the source code of the non-working site with 5.x-2.3. I can't reproduce the error on my test site.

Cheers,
Stella

stella’s picture

Status: Active » Postponed (maintainer needs more info)
stella’s picture

Try the Lightbox2 5.x-2.4 release.

Cheers,
Stella

teradome’s picture

Version: 5.x-2.3 » 5.x-2.4

Getting the same error, using 5.x-2.4.

It's bad enough that it prevents Drupal's twistie controls from appearing, making any fieldset in a theme that uses that UI feature inaccessible until the module is disabled.

Error: $(child).attr("class") has no properties
Source File: http://{domain}/sites/all/modules/lightbox2/js/image_nodes.js
Line: 25

stella’s picture

teradome: can you provide a URL where I can see this happening? It's one of those scenarios where I really need to see it happening because I can't reproduce it on my site. Which browsers does it happen in? Can you send me all of your lightbox2 settings too?

Cheers,
Stella

teradome’s picture

I'm running Firefox (2.0.0.12). Also occurs in IE7.

Page 1: http://screencast.com/t/UNWjXi0E
Page 2: http://screencast.com/t/Y2hnCWgJK

As you can see, I can't get to certain settings when it's enabled because the twistie JS is broken

I'll try to set you up with something -- it's an intranet-style environment so it's account-only. i'll need to create some special visitor permissions.

stella’s picture

teradome: for the "twistie" fielset issue, see #222290 instead.

As for the Error: $(child).attr("class") has no properties javascript error, you could send me the page source code instead of the URL if that's easier. Just be sure to clear your browser cache first, to ensure the js files, etc, aren't cached.

Cheers,
Stella

stella’s picture

Try the newer release: lightbox 2 5.x-2.5.

Cheers,
Stella

stella’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

No feedback in over a month, so marking as "won't fix". Please re-open if the issue is still occurring and if you can answer the above questions.

Cheers,
Stella

Status: Active » Closed (won't fix)