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
1 changed files with 1 additions and 1 deletions

View File

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