Commit Graph

7 Commits

Author SHA1 Message Date
Bart Duchesne
a8e0a64ff0 call insertion-callback on the correct node (in case a specific insertion-node is specified) 2012-07-30 10:49:17 +02:00
nathanvda
5047cdf0f1 Pulled in the changes from erwin (pull #51)., with a few changes to clean up and maintain backwards compatibility. 2012-04-07 01:33:30 +02:00
Matte Edens
4563b685be add data-association-insertion-method
the -position data attribute doesn't really "make sense" when adding
the "append" or "prepend" methods. those aren't "positions".  I try to
be grammatically correct. :)
2011-12-06 12:03:25 -08:00
nathanvda
c278916ad4 Added new callback solution, allowing both insertion and removal callbacks. 2011-10-12 23:00:20 +02:00
gray
7821a6bb8f Use safe jQuery & remove document ready 2011-09-26 12:01:20 +03:00
Carlos Segura
9dfedb4733 Add option to use this in association-insertion-node 2011-08-25 00:57:20 +02:00
nathanvda
1628bb19d3 Made Cocoon Rails 3.1 compatible:
- moved cocoon.js to app/assets/javascripts
- adapted install-generator accordingly (for rails 3.0.x)
- made it an engine instead of railtie (to use the asset pipeline)
2011-07-24 00:17:40 +02:00