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

stella’s picture

Status: Needs review » Closed (duplicate)