Don’t change a button’s text when disabled after click

This commit is contained in:
gregoirenovel 2018-08-23 10:11:41 +02:00
parent 8c11c24050
commit a86e3a3156
14 changed files with 17 additions and 17 deletions

View file

@ -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 }