Closed (fixed)
Project:
Kudos
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2008 at 22:39 UTC
Updated:
20 Mar 2008 at 20:31 UTC
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
Comment #1
socki commentedHey, 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.
Comment #2
jorbot commentedAh 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!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.