diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 09:54:36 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 10:27:22 +0100 |
commit | 5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc (patch) | |
tree | 5a8a328f2a898692ced1fc8b9860f3400c429ff6 /core/js/login | |
parent | cba5ccfbaf9f0bc29c8a3807377b7422423203bb (diff) | |
download | nextcloud-server-5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc.tar.gz nextcloud-server-5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc.zip |
Remove redirect page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/login')
-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'); -}); |