Changed loginUtils.js to the head and change comment for fading error alerts to fade IN
This commit is contained in:
parent
2aee2e581c
commit
d7209cf2d8
2 changed files with 4 additions and 4 deletions
|
@ -8,10 +8,10 @@ $(document).ready(function(){
|
|||
// focus on email or newpassword field
|
||||
$('.focus').focus();
|
||||
|
||||
// fade out error alerts
|
||||
// fade in error alerts
|
||||
$('section#error-alert').css('display', 'none').fadeIn(1500);
|
||||
|
||||
// fade out fash-message when user log out
|
||||
// fade in fash-message when user log out
|
||||
$('section#flash-message').css('display', 'none').fadeIn(1500);
|
||||
|
||||
});
|
|
@ -7,8 +7,8 @@
|
|||
See NIHVIVO-1357. This test does nothing, since user has not been put into the data model.
|
||||
<#if ! user.loggedIn> -->
|
||||
${stylesheets.add("/css/login.css")}
|
||||
${scripts.add("/js/login/loginUtils.js")}
|
||||
<#-- ${headScripts.add("")} -->
|
||||
<#-- ${scripts.add("")} -->
|
||||
${headScripts.add("/js/login/loginUtils.js")}
|
||||
<#-- </#if> -->
|
||||
</#macro>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue