Skip to content

Commit

Permalink
fix #1655
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Oct 2, 2017
1 parent a04886c commit 9f64cdf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,10 @@ class BootstrapTable extends Component {

this.store.setSelectedRowKey([]); // clear selected row key

if (this.allowRemote(Const.REMOTE_DROP_ROW) && afterDeleteRow) {
afterDeleteRow(dropRowKeys, dropRow);
if (this.allowRemote(Const.REMOTE_DROP_ROW)) {
if (afterDeleteRow) {
afterDeleteRow(dropRowKeys, dropRow);
}
return;
}

Expand Down

0 comments on commit 9f64cdf

Please sign in to comment.