fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-03-15 09:56 am

[dw-free] (jquery beta) ajax "change your poll vote" doesn't work

[commit: http://hg.dwscoalition.org/dw-free/rev/a22330681256]

http://bugs.dwscoalition.org/show_bug.cgi?id=4366

Go up two levels instead of one, so that we're looking for the "change poll
vote" link in the correct scope.

Patch by [personal profile] fu.

Files modified:
  • htdocs/js/jquery.poll.js
--------------------------------------------------------------------------------
diff -r 2d0ba6534b20 -r a22330681256 htdocs/js/jquery.poll.js
--- a/htdocs/js/jquery.poll.js	Wed Mar 14 07:12:12 2012 +0000
+++ b/htdocs/js/jquery.poll.js	Thu Mar 15 17:56:41 2012 +0800
@@ -112,7 +112,7 @@
                 }
                 });
 
-        }).end()
+        }).end().end()
         .filter("a.LJ_PollChangeLink").click(function(e){
             e.stopPropagation();
             e.preventDefault();
--------------------------------------------------------------------------------