Merge pull request #259 from warpc/228-fix_login_page
[refs #228] Fix error: couldn't login in to system
This commit is contained in:
commit
a2d338b6cd
|
@ -15,8 +15,8 @@ $(document).ready(function() {
|
|||
$(this).addClass('registartion-input-focus').removeClass('registartion-input-error');
|
||||
}).live('blur', function() {
|
||||
var id = $(this).attr('id');
|
||||
if(id == 'user_login') { $(this).val(login_default)}
|
||||
else if(id == 'user_password') {$(this).val(pass_default)}
|
||||
if(id == 'user_login' && $(this).val() == '') { $(this).val(login_default)}
|
||||
else if(id == 'user_password' && $(this).val() == '') { $(this).val(pass_default)}
|
||||
$(this).addClass('registartion-input-no-focus').removeClass('registartion-input-focus');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue