|
|
@@ -91,7 +91,7 @@
|
|
|
});
|
|
|
};
|
|
|
|
|
|
- BootstrapTable.prototype.onDrop = function (table, row) {
|
|
|
+ BootstrapTable.prototype.onDrop = function (table, droppedRow) {
|
|
|
var tableBs = $(table),
|
|
|
tableBsData = tableBs.data('bootstrap.table'),
|
|
|
tableBsOptions = tableBs.data('bootstrap.table').options,
|
|
|
@@ -107,7 +107,7 @@
|
|
|
tableBsOptions.data = newData;
|
|
|
|
|
|
//Call the user defined function
|
|
|
- tableBsOptions.onReorderRowsDrop.apply(table, row);
|
|
|
+ tableBsOptions.onReorderRowsDrop.apply(table, [droppedRow]);
|
|
|
|
|
|
//Call the event reorder-row
|
|
|
tableBsData.trigger('reorder-row', newData);
|