aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-11-29 11:15:35 +0100
committerGitHub <noreply@github.com>2018-11-29 11:15:35 +0100
commit9f64149a38f1cd5f3942dd19720e335911d04f46 (patch)
treeb7784dc177161bb35b6f1a6d7da3edd3d022aa60 /core/js
parent68f04686a06f8d5e468aa53a51ec25602d1cd4f5 (diff)
parent6734e871717d0008b71b8b969878363c14be87c4 (diff)
downloadnextcloud-server-9f64149a38f1cd5f3942dd19720e335911d04f46.tar.gz
nextcloud-server-9f64149a38f1cd5f3942dd19720e335911d04f46.zip
Merge pull request #12710 from nextcloud/remove-old-submit-button
Remove old button to submit the apppassword login
Diffstat (limited to 'core/js')
-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');
-});