Closed (fixed)
Project:
Thickbox
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 May 2007 at 03:41 UTC
Updated:
19 May 2007 at 08:32 UTC
Changes on a class from the Image modules require the following changes on thickbox_auto.js at least for Drupal 5.1 version (probably also for previous versions):
Line 10
From:
$("ul.galleries a[img.image.thumbnail]").addClass("category");
To:
$("ul.galleries a[img.image.image-thumbnail]").addClass("category");
And line 32
From:
$("a[img.image.thumbnail]", context).not(".thickbox").not(".category").each(function(i) {
To:
$("a[img.image.image-thumbnail]", context).not(".thickbox").not(".category").each(function(i) {
Patched thickbox_auto.js attached as thickbox_auto.new.js to avoid confusion until fully tested.
Hope it helps.
| Comment | File | Size | Author |
|---|---|---|---|
| thickbox_auto.new_.js_.txt | 1.69 KB | Alejandro Malo |
Comments
Comment #1
frjo commentedCommitted to Drupal-5 and HEAD, thanks for the heads up on this.
When you send in code like this the most helpful is to do it as a patch. The following Drupal help page explains it well.
http://drupal.org/patch
Comment #2
(not verified) commented