call insertion-callback on the correct node (in case a specific insertion-node is specified)
This commit is contained in:
parent
9b61ab50a7
commit
a8e0a64ff0
|
@ -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