Skip to content

Commit 3c4494e

Browse files
Ekwavalexweissman
authored andcommitted
rowDelete event event fix
The rowDelete event from the ufCollection widget didn't include the deleted row. But following the docs it should: https://learn.userfrosting.com/client-side-code/components/collections#deleterow
1 parent 135535e commit 3c4494e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/sprinkles/core/assets/userfrosting/js/uf-collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
*/
240240
_deleteRow: function(row) {
241241
row.remove();
242-
this.$element.trigger('rowDelete.ufCollection');
242+
this.$element.trigger('rowDelete.ufCollection',row);
243243
},
244244
/**
245245
* Add delete and touch bindings for a row, increment the internal row counter, and fire the rowAdd event

0 commit comments

Comments
 (0)