Moved fade-in for flash-message to vitroUtils.js since this behavior should apply throughout the app and should not be limited only to pages that include the login widget.

This commit is contained in:
nac26 2011-01-24 18:26:51 +00:00
parent 2be51ef25c
commit 0d78f1f1f0
2 changed files with 3 additions and 4 deletions

View file

@ -9,9 +9,6 @@ $(document).ready(function(){
$('.focus').focus();
// fade in error alerts
$('section#error-alert').css('display', 'none').fadeIn(1500);
// fade in fash-message when user log out
$('section#flash-message').css('display', 'none').fadeIn(1500);
$('section#error-alert').css('display', 'none').fadeIn(1500);
});

View file

@ -5,4 +5,6 @@ $(document).ready(function(){
// fade out welcome-message when user logs in
$('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
// fade in flash-message when user logs out
$('section#flash-message').css('display', 'none').fadeIn(1500);
});