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

ingo86’s picture

Assigned: Unassigned » ingo86
ingo86’s picture

This "intact" is strange...it should theorically be "inact"...
I will check as soon as possible.
BTW thank you.

gregarios’s picture

It 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?

ingo86’s picture

Status: Active » Fixed

The 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.