sehmaschine/django-grappelli — Issue #59: cannot save, when deleting just added (not saved) inline item
Author: mariuszthecoder
Created: 2011-11-15 16:15:32+00:00
State: open

cannot save, when deleting just added (not saved) inline item
it's caused by wrong selector in line 141 of file 'jquery.grp_inline.js':

while
>> inline = elem.parents("div.group")
...
>> inline.find("." + options.formCssClass).each(function() {
selects "dynamic-form" elements on many levels, enumerating not only rows, refreshing it with wrong id's
line 141 should be like:
>> inline.find("." + options.formCssClass +".tbody .tr").each(function() {