prevent multiple clicks on member destroy link

pull/7805/head
ulferts 5 years ago
parent 05879e118a
commit 5b217ec039
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      app/cells/members/row_cell.rb

@ -118,7 +118,7 @@ module Members
op_icon('icon icon-delete'),
{ controller: '/members', action: 'destroy', id: model, page: params[:page] },
method: :delete,
data: { confirm: delete_link_confirmation },
data: { confirm: delete_link_confirmation, disable_with: I18n.t(:label_loading) },
title: delete_title
)
end

Loading…
Cancel
Save