[-] BO : fix bug #PSFV-700 - On IE8, the login.js' displayErrors() method fails
This commit is contained in:
+2
-2
@@ -89,8 +89,8 @@ function doAjaxForgot() {
|
|||||||
}
|
}
|
||||||
function displayErrors(errors) {
|
function displayErrors(errors) {
|
||||||
str_errors = '<h3>' + (errors.length > 1 ? there_are : there_is) + ' ' + errors.length + ' ' + (errors.length > 1 ? label_errors : label_error) + '</h3><ol>';
|
str_errors = '<h3>' + (errors.length > 1 ? there_are : there_is) + ' ' + errors.length + ' ' + (errors.length > 1 ? label_errors : label_error) + '</h3><ol>';
|
||||||
for (error in errors) //IE6 bug fix
|
for (var error in errors) //IE6 bug fix
|
||||||
if (error != 'indexOf') str_errors += '<li>' + errors[error] + '</li>';
|
if (error != 'indexOf') str_errors += '<li>' + errors[error] + '</li>';
|
||||||
$('#ajax-loader').fadeOut('slow');
|
$('#ajax-loader').fadeOut('slow');
|
||||||
$('#error').html(str_errors + '</ol>');
|
$('#error').html(str_errors + '</ol>');
|
||||||
$('#error').fadeIn();
|
$('#error').fadeIn();
|
||||||
|
|||||||
Reference in New Issue
Block a user