Merge pull request #75 from bduc/master

Bugfix : Call insertion-callback on the correct container
This commit is contained in:
Nathan Van der Auwera 2012-07-30 08:39:19 -07:00
commit c0fd78fea2

View File

@ -49,7 +49,7 @@
// code and doesn't force it to be a sibling like after/before does. default: 'before'
insertionNode[insertionMethod](contentNode);
$this.parent().trigger('insertion-callback');
insertionNode.trigger('insertion-callback');
});
$('.remove_fields.dynamic').live('click', function(e) {