diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 09:54:36 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2018-11-29 10:17:01 +0000 |
commit | b208cce8895dd9d83ea6a88f2ce43680662e21d9 (patch) | |
tree | a00825afe06a03e70b35429ffb8e8ddf39d33d2f /core/js | |
parent | c1c0a7e392c090695dd2cab7f6f14c2ef2c32462 (diff) | |
download | nextcloud-server-b208cce8895dd9d83ea6a88f2ce43680662e21d9.tar.gz nextcloud-server-b208cce8895dd9d83ea6a88f2ce43680662e21d9.zip |
Remove redirect page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/login/grant.js | 9 | ||||
-rw-r--r-- | core/js/login/redirect.js | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/core/js/login/grant.js b/core/js/login/grant.js new file mode 100644 index 00000000000..c3c3371b17e --- /dev/null +++ b/core/js/login/grant.js @@ -0,0 +1,9 @@ +jQuery(document).ready(function() { + $('#submit').click(function (e) { + $('#submit + .submit-icon') + .removeClass('icon-confirm-white') + .addClass(OCA.Theming && OCA.Theming.inverted + ? 'icon-loading-small' + : 'icon-loading-small-dark'); + }) +})
\ No newline at end of file diff --git a/core/js/login/redirect.js b/core/js/login/redirect.js deleted file mode 100644 index ea214feab2d..00000000000 --- a/core/js/login/redirect.js +++ /dev/null @@ -1,3 +0,0 @@ -jQuery(document).ready(function() { - $('#submit-redirect-form').trigger('click'); -}); |