[-] BO : fix bug #PSFV-700 - On IE8, the login.js' displayErrors() method fails
This commit is contained in:
1 parent
82e7673f8a
commit
9a2a2db296
1 file changed
+1
-1
+1
-1
@@ -89,7 +89,7 @@ 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>');
|
||||||
|
|||||||
Reference in new issue
Block a user