Wednesday, November 14, 2007

jq4r 0.1.1 Released and Fix jQuery/Ajax's Bug

jq4r has a new release. Version 0.1.1 fixes some bugs in 0.1:


  • lib/jq4r.rb

    Fix jquery_visual_effect method's bug. (speed parameter doesn't be quoted)

    Use alias_method to replace the method's prefix from jq_ to jquery_



  • install.rb

    The script of installing the necessary files for jq4r.

  • javascripts/jq4r.js

    Combine the jquery-1.2.1.js and jquery.form.js into jq4r.js and patch the jQuery/Ajax's bug.


If you use the subversion to install jq4r, please update you repository to the HEAD revision.

On the other hand, jQuery/Ajax has a little bug, that is, jQuery doesn't set Accept header on Ajax call so that there's problem while you use respond_to in Rails. Thanks for Jason Yate's patch, the script in version 0.1.1 (and HEAD revision) has been patched.

Thanks for every helps from you all :-)

No comments: