Revision 3a9b8a84 snf-astakos-app/astakos/im/static/im/js/auth_methods.js
b/snf-astakos-app/astakos/im/static/im/js/auth_methods.js | ||
---|---|---|
88 | 88 |
// Email, Password forms |
89 | 89 |
|
90 | 90 |
$('.form-following .extra-img').click(function(e){ |
91 |
|
|
91 |
var h = $('.form-row').first().outerHeight(); |
|
92 |
$('.form-row').css('height', h); |
|
92 | 93 |
$(this).parents('.form-row').toggleClass('open'); |
93 | 94 |
$(this).parents('.form-row').next('.hidden-form-rows').slideToggle('slow'); |
94 | 95 |
|
... | ... | |
105 | 106 |
$(this).find('.form-error').hide(); |
106 | 107 |
} |
107 | 108 |
}); |
109 |
$(this).parents('.form-row').removeClass('with-errors'); |
|
110 |
$(this).parents('.form-row').find('.form-error').hide(); |
|
111 |
|
|
108 | 112 |
} else { |
109 | 113 |
// focus on first input |
110 | 114 |
if ( id == 'email-span') { newEmailDiv.find('input').focus(); } |
Also available in: Unified diff