Bug #2744
closed
Chrome browser: Javascript error in on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340"
Added by beat about 13 years ago.
Updated about 13 years ago.
Start date:
31 August 2011
Files
Hi,
I provide a patch for this bug (for Community Builder 1.4)
BOUDAOUI Mohamed,
www.cubiq.fr
Patch provided does not work. The problem is how the replacement is handled. The code is taking an existing function then parsing it and changing it. The problem with this is how the parsing happens is completely browser based as they all output and handle the function differently. It works fine in IE and FF because both browsers decompressed the function then it's modified. Chrome however passes the original compressed version of the function (probably best practice actually). Attached is proposed fixed to simply decompressed that single function, which tested and confirmed working; this prevents major changes to the source!
Attached is also a patched updated version of overlib as latest is 2.21 while we use 2.17. Both tested and confirmed working.
- Subject changed from Javascript error in Chrome on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340" to Chrome browser: Javascript error in on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340"
- Status changed from Resolved to Closed
Also available in: Atom
PDF