When trying to vote in IE7 by click on a star, IE invokes a javascript error, thus no ability to vote.

Comments

hickory’s picture

What's the error?

Nikkol’s picture

I don't know really. I just get a syntax error, line1, char 1 of the node page. So it's not that helpful.

Nikkol’s picture

Title: Cannot vote in IE 7 » In FireFox the error appears to stem from jQuery

Error: syntax error
Source File: /misc/jquery.js
Line: 2, Column: 7
Source Code:
data =

Nikkol’s picture

oops ... the code part didn't come through

data = < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

without the spaces between < ! D

hickory’s picture

Can you open misc/jquery.js directly in your web browser?

hickory’s picture

Title: In FireFox the error appears to stem from jQuery » Javascript error when clicking on a star

Actually, I know what this might be - make sure you have the latest DRUPAL 5 branch from CVS, as of about an hour ago.

Nikkol’s picture

Forgive my ignorance ... how do I download the branch from the repository?

hickory’s picture

If you're not working from CVS, the easiest way is to wait a few hours (tomorrow, probably) until the new tar.gz package is automatically built. Then it'll replace the current package on the project page.

alf.

Nikkol’s picture

Installing the latest still did not resolve the issue. Thoughts?

hickory’s picture

It's working fine for me. I'll have to ask this again: Can you open misc/jquery.js directly in your web browser?

Nikkol’s picture

I am prompted to download it.

csc4’s picture

I'm having a very similar problem with 4.7 - is the JS fix applicable to both branches?

Nikkol’s picture

oh wow .. I had an error in my template. When I redid the part of the code with the rating in it, I made sure to put just print $node->jrating_html and it works just as advertised. Sorry for wasting your time :(

hickory’s picture

Status: Active » Closed (fixed)