more info

Media72 Hosting Articles and Tips

javascript_auto_include plugin updated

After a number of requests the javascript_auto_include plugin now has additional functionality, many people wanted to be able to use the same javascript file in more than one view. It’s now possible to do this by naming files like new-edit.js, you can string as many views together as you like using the “-” character as a delimiter.

Install the plugin using one of the following methods:

script/plugin install http://kernowsoul.com/svn/plugins/javascript_auto_include

Using rails 2.1 and above:

script/plugin install git://github.com/kernow/javascript_auto_include.git

Thank you to all the people who requested this feature.

Leave a Reply

 

hedges