Don’t change a button’s text when disabled after click
This commit is contained in:
parent
8c11c24050
commit
a86e3a3156
14 changed files with 17 additions and 17 deletions
|
@ -155,4 +155,4 @@
|
|||
hide_admin_procedure_path(procedure),
|
||||
method: :post,
|
||||
class: "btn btn-danger",
|
||||
data: { confirm: "Voulez-vous supprimer la procédure ?", disable_with: "Suppression..." }
|
||||
data: { confirm: "Voulez-vous supprimer la procédure ?", disable: true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue