Skip to content

Commit

Permalink
Fix issue vitmalina#1397
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Gacek committed May 12, 2017
1 parent 790eae2 commit da574f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/w2grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1726,6 +1726,7 @@
if (sel.length >= 1) this.toolbar.enable('w2ui-delete'); else this.toolbar.disable('w2ui-delete');
this.addRange('selection');
$('#grid_'+ this.name +'_check_all').prop('checked', true);
this.status();
// event after
this.trigger($.extend(edata, { phase: 'after' }));
return (new Date()).getTime() - time;
Expand Down Expand Up @@ -1757,6 +1758,7 @@
this.toolbar.disable('w2ui-edit', 'w2ui-delete');
this.removeRange('selection');
$('#grid_'+ this.name +'_check_all').prop('checked', false);
this.status();
// event after
this.trigger($.extend(edata, { phase: 'after' }));
return (new Date()).getTime() - time;
Expand Down

0 comments on commit da574f6

Please sign in to comment.