The style updating of the image buttons is not working in IE (6 or 7). I click a kudos image button, the database is updated, but the button styling does not update. If I refresh the page, everything updates as expected.

Everything works in Firefox and Safari, but IE is having a little trouble. Big surprise! I've tried to narrow down the problem and have discovered that IE chokes at line 57 of jquery.kudos.js.

v_operation = $("operation",data).text();

Everything before that seems to work. But I can't get it to print any alert() calls after that line in IE.

I put this on line 34 to hack it until I find a fix. But it's really not the best solution.

window.location.reload(true);

Any ideas?

Comments

socki’s picture

Status: Active » Fixed

Hey, I believe this has been fixed now in the latest revision that has just been checked in. (please give it a few hours at least to become downloadable).

There was an issue with how the module was sending the xml back to the javascript. IE is more strict that it has to have a content-type of text/xml.

jorbot’s picture

Ah ha! That makes perfect sense. I wish I thought of that. heh heh I ended up having to hard-code the variables in the JS to make it work because I couldn't get IE to parse the XML.

The module is now active on a production site and seems to be working perfectly.

Thanks for the update!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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