Patch for svn://jquery.com/trunk/plugins/rating/js/jquery.rating.js
Bug: The slice(1) logic doesn't work -- at least in FF2

Index: jquery.rating.js
===================================================================
--- jquery.rating.js    (revision 1436)
+++ jquery.rating.js    (working copy)
@@ -65,7 +65,7 @@
                 drain();

             jQuery.post(url,{
-                rating: jQuery(this).find('a')[0].href.slice(1)
+                rating: jQuery(this).find('a')
[0].href.slice(jQuery(this).find('a')[0].href.indexOf('#')+1)
             });

             return false;


--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to