elo80ka / django-dynamic-formset

A jQuery plugin that allows you dynamically add new forms to a rendered django formset.
677 stars 311 forks source link

Incorrect detection of TR #64

Closed rmcauley closed 10 years ago

rmcauley commented 10 years ago

The library does not always detect if tables are being used or not. See line 156, where you use attr('tagName'). I changed this to use $$.is("TR") as you have elsewhere in the code and it fixed the problem.

Thanks for the great work. :)

elo80ka commented 10 years ago

This has been fixed in 1d57afed15...thanks!