vitro/webapp/web/js/login/loginUtils.js
Manolo Bevia c19df41bfd Added new features for VITRO home page:
-Filtered search based in class groups (It needs to be wired. Just added HTML/CSS/JS)
-Class group stats (It needs to be wired. Just added HTML/CSS/JS)
-Improveed UX for signing when there is external authorization

Removed search box located in header in homepage.
2013-04-11 15:09:23 -04:00

19 lines
No EOL
540 B
JavaScript

/* $This file is distributed under the terms of the license in /doc/license.txt$ */
$(document).ready(function(){
// login form is hidden by default; use JavaScript to reveal
$("#login").removeClass('hidden');
// focus on email or newpassword field
$('.focus').focus();
// fade in error alerts
$('section#error-alert').css('display', 'none').fadeIn(1500);
// toggle vivo account authentication form
$('h3.internal-auth').click(function() {
$('.vivoAccount').toggle();
});
});