I get this after upgrading to beta5.
Error in javascript: missing name after . operator near "-intact" —
if (!$('#' + 'vote_' + db.dir2 + '_' + cid).hasClass(db.dir2.'-intact')) {
This error completely breaks all the Javascript on the pages where vote Up/Down is loaded — menus, views slideshow, and Lightbox2.
Tried clearing the caches, updating the database (no updates), and finally reverted back to beta4 to fix it.
Comments
Comment #1
ingo86 commentedComment #2
ingo86 commentedThis "intact" is strange...it should theorically be "inact"...
I will check as soon as possible.
BTW thank you.
Comment #3
gregarios commentedIt may in fact be "-inact" as I had to type it out from a screenshot. I believe the error message had an arrow pointing at the hyphen in "-inact" as well. Perhaps it needs escaping?
Comment #4
ingo86 commentedThe point operator works in php as chain, in javascript we need to use the + operator to chain variables.
Sorry for the distraction error.
Download beta6, it's fixed.