aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/login
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-29 09:54:36 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-29 10:27:22 +0100
commit5e4990faddfd05a1f368e4d6d6070a9d1ff55dfc (patch)
tree5a8a328f2a898692ced1fc8b9860f3400c429ff6 /core/js/login
parentcba5ccfbaf9f0bc29c8a3807377b7422423203bb (diff)
downloadnextcloud-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.js9
-rw-r--r--core/js/login/redirect.js3
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');
-});