Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_fdsu_theme_resp
Commits
d853a39f
Commit
d853a39f
authored
Jul 19, 2021
by
Tyler Struyk
Committed by
Kevin Paxman
Jul 19, 2021
Browse files
Coding standard
parent
7336594f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
js/user-login.js
js/user-login.js
+5
-6
No files found.
js/user-login.js
View file @
d853a39f
...
...
@@ -2,16 +2,15 @@
Drupal
.
behaviors
.
uwFdsuThemeRespUserLogin
=
{
attach
:
function
(
context
,
settings
)
{
$
(
'
#user-login-form
'
).
css
(
'
display
'
,
'
none
'
);
$
(
'
#local-login-link
'
).
click
(
function
()
{
$
(
'
#user-login-form
'
).
css
(
'
display
'
,
'
block
'
);
$
(
'
#local-login-link
'
).
click
(
function
()
{
$
(
'
#user-login-form
'
).
css
(
'
display
'
,
'
block
'
);
$
(
'
#local-login-link
'
).
css
(
'
display
'
,
'
none
'
);
$
(
'
#adfs-login-link
'
).
css
(
'
display
'
,
'
none
'
);
$
(
'
#edit-submit
'
).
val
(
'
Log In Locally
'
);
$
(
'
#edit-submit
'
).
val
(
'
Log In Locally
'
);
});
$
(
'
#adfs-login-link
'
).
click
(
function
()
{
$
(
'
#edit-simplesamlphp-auth-login-link
'
)[
0
].
click
();
$
(
'
#adfs-login-link
'
).
click
(
function
()
{
$
(
'
#edit-simplesamlphp-auth-login-link
'
)[
0
].
click
();
});
}
};
})(
jQuery
,
Drupal
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment