From 9a2a2db296ac0789bc2522f1f14ffe7b0fb418d3 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Thu, 22 Mar 2012 16:12:33 +0000 Subject: [PATCH] [-] BO : fix bug #PSFV-700 - On IE8, the login.js' displayErrors() method fails --- js/login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/login.js b/js/login.js index c25acfb39..2033038f5 100644 --- a/js/login.js +++ b/js/login.js @@ -89,8 +89,8 @@ function doAjaxForgot() { } function displayErrors(errors) { str_errors = '

' + (errors.length > 1 ? there_are : there_is) + ' ' + errors.length + ' ' + (errors.length > 1 ? label_errors : label_error) + '

    '; - for (error in errors) //IE6 bug fix - if (error != 'indexOf') str_errors += '
  1. ' + errors[error] + '
  2. '; + for (var error in errors) //IE6 bug fix + if (error != 'indexOf') str_errors += '
  3. ' + errors[error] + '
  4. '; $('#ajax-loader').fadeOut('slow'); $('#error').html(str_errors + '
'); $('#error').fadeIn();