nathanvda/cocoon — pull request #51 by erwin (2012-04-05 08:43:46+00:00)
Title: added before - after removal callback processing

in case of removal after , as the node will disappear, I set the trigger based on .nested_field parent, which should be the same div used in insertion callback

var trigger_node = $this.closest(".nested-fields").parent();