mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #33166 from Lukasdoe/master
Add button disable on submit for login grant
This commit is contained in:
commit
9f77aba9fa
1 changed files with 1 additions and 0 deletions
|
|
@ -6,5 +6,6 @@ document.querySelector('form').addEventListener('submit', function(e) {
|
|||
wrapper.getElementsByClassName('icon-confirm-white').forEach(function(el) {
|
||||
el.classList.remove('icon-confirm-white')
|
||||
el.classList.add(OCA.Theming && OCA.Theming.inverted ? 'icon-loading-small' : 'icon-loading-small-dark')
|
||||
el.disabled = true
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue