Merge pull request #75 from bduc/master
Bugfix : Call insertion-callback on the correct container
This commit is contained in:
commit
c0fd78fea2
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue