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
|
@ -12,7 +12,7 @@
|
|||
locals: { champ: champ, form: champ_form, seen_at: @annotations_privees_seen_at }
|
||||
|
||||
.send-wrapper
|
||||
= f.submit 'Sauvegarder', class: 'button send', data: { disable_with: "Envoi..." }
|
||||
= f.submit 'Sauvegarder', class: 'button send', data: { disable: true }
|
||||
|
||||
- else
|
||||
%h2.empty-text Aucune annotation privée
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
(taille max : 20 Mo)
|
||||
|
||||
.send-wrapper
|
||||
= f.submit 'Envoyer', class: 'button send', data: { disable_with: "Envoi…" }
|
||||
= f.submit 'Envoyer', class: 'button send', data: { disable: true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue