Closed (duplicate)
Project:
Lightbox2
Version:
6.x-1.10
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2010 at 12:57 UTC
Updated:
24 Sep 2010 at 13:34 UTC
I'm experiencing a syntax error in lightbox.js after upgrading to 1.10, this breaks javascript and lightbox does not work!
You can reproduce the error with IE7 or IE8 in compatibility mode, it's the same-old "object ending with comma" :)
This patch solves the problem:
@@ -1162,7 +1162,7 @@
url: Drupal.settings.basePath + 'system/lightbox2/filter-xss',
data: {
'string' : str,
- 'allowed_tags' : allowed_tags,
+ 'allowed_tags' : allowed_tags
},
type: "POST",
async: false,
Comments
Comment #1
stella commentedduplicate of #920094: lightbox.js error with IE after upgrading lightbox2 to 5.x-2.10/6.x-1.10