[-] BO : fix bug #PSFV-700 - On IE8, the login.js' displayErrors() method fails
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14229 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -89,8 +89,8 @@ function doAjaxForgot() {
|
||||
}
|
||||
function displayErrors(errors) {
|
||||
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
|
||||
if (error != 'indexOf') str_errors += '<li>' + errors[error] + '</li>';
|
||||
for (var error in errors) //IE6 bug fix
|
||||
if (error != 'indexOf') str_errors += '<li>' + errors[error] + '</li>';
|
||||
$('#ajax-loader').fadeOut('slow');
|
||||
$('#error').html(str_errors + '</ol>');
|
||||
$('#error').fadeIn();
|
||||
|
||||
Reference in New Issue
Block a user