Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
execut committed Feb 19, 2019
1 parent 291d44b commit ed0ec78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions widgets/assets/HandlersButton.js
Expand Up @@ -16,6 +16,10 @@
var t = this,
el = t.element;
el.click(function () {
if (el.attr('disabled')) {
return false;
}

var selectedIds = t._gridEl.yiiGridView('getSelectedRows'),
message = t._getMessage(selectedIds.length || t.options.totalCount);
el.attr('disabled', true);
Expand Down
2 changes: 1 addition & 1 deletion widgets/assets/HandlersButton.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed0ec78

Please sign in to comment.