Skip to content
Snippets Groups Projects
Commit d853a39f authored by Tyler Struyk's avatar Tyler Struyk Committed by Kevin Paxman
Browse files

Coding standard

parent 7336594f
No related branches found
No related tags found
1 merge request!43ISTWCMS-3682: ADFS Addition, Modify User Login Form
...@@ -2,16 +2,15 @@ ...@@ -2,16 +2,15 @@
Drupal.behaviors.uwFdsuThemeRespUserLogin = { Drupal.behaviors.uwFdsuThemeRespUserLogin = {
attach: function (context, settings) { attach: function (context, settings) {
$('#user-login-form').css('display', 'none'); $('#user-login-form').css('display', 'none');
$('#local-login-link').click(function() { $('#local-login-link').click(function () {
$('#user-login-form').css('display', 'block'); $('#user-login-form').css('display', 'block');
$('#local-login-link').css('display', 'none'); $('#local-login-link').css('display', 'none');
$('#adfs-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() { $('#adfs-login-link').click(function () {
$('#edit-simplesamlphp-auth-login-link')[0].click(); $('#edit-simplesamlphp-auth-login-link')[0].click();
}); });
} }
}; };
})(jQuery, Drupal); })(jQuery, Drupal);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment