Commit 7336594f authored by Tyler Struyk's avatar Tyler Struyk Committed by Kevin Paxman
Browse files

ISTWCMS-3682: missed js and added min version

parent 17348abf
# Ignore compiled files.
source
js
# Ignore directories
images/images
......
!function(l,i){i.behaviors.uwFdsuThemeRespUserLogin={attach:function(i,n){l("#user-login-form").css("display","none"),l("#local-login-link").click(function(){l("#user-login-form").css("display","block"),l("#local-login-link").css("display","none"),l("#adfs-login-link").css("display","none"),l("#edit-submit").val("Log In Locally")}),l("#adfs-login-link").click(function(){l("#edit-simplesamlphp-auth-login-link")[0].click()})}}}(jQuery,Drupal);
(function ($, Drupal) {
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').css('display', 'none');
$('#adfs-login-link').css('display', 'none');
$('#edit-submit').val('Log In Locally');
});
$('#adfs-login-link').click(function() {
$('#edit-simplesamlphp-auth-login-link')[0].click();
});
}
};
})(jQuery, Drupal);
......@@ -23,4 +23,4 @@ uw_dashboards:
../../modules/custom/uw_wcms_gesso/css/uw-dashboards.min.css: {}
user.login:
js:
js/user-login.js: {}
js/user-login-min.js: {}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment