nathanvda/cocoon — pull request #21 by dwaynemac (2011-10-14 22:06:34+00:00)
Title: For your consideration

I made this fix for strange JQuery behaviour: On brand new Rails 3.1.0 application .data doesn't seem to work.
Issue: https://github.com/nathanvda/cocoon/issues/20

Although this fix works there probably is a better solution that keeps JQuery "normal" usage.

Still, just in case you wiss to use it, i hereby commit my fix :-)