phiamo/MopaBootstrapBundle — pull request #212 by jankramer (2012-07-15 13:49:30+00:00)
Title: Trigger event when adding a row to a form collection

Modified mopabootstrap-collection.js to trigger an event on the control-group when adding a row.

Usage example:

$('#collection_element_control_group').bind('add', function (event, row) {
// Row contains the row that has just been added
row.addClass('new-row');
});