diff --git a/admin-dev/themes/default/template/controllers/login/content.tpl b/admin-dev/themes/default/template/controllers/login/content.tpl index 12c706598..70068f7d5 100755 --- a/admin-dev/themes/default/template/controllers/login/content.tpl +++ b/admin-dev/themes/default/template/controllers/login/content.tpl @@ -22,79 +22,115 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} - -
Details: Error thrown: ' + XMLHttpRequest + '
Text status: ' + textStatus + '
').removeClass('hide'); - $('#login_form .ajax-loader').fadeOut('slow'); + $('#login_form').fadeOut('slow'); } }); }); } function doAjaxForgot() { $('#error').hide(); - $('#forgot_password_form .ajax-loader').fadeIn('slow', function() { + $('#forgot_password_form').fadeIn('slow', function() { $.ajax({ type: "POST", headers: { "cache-control": "no-cache" }, @@ -109,23 +109,23 @@ function doAjaxForgot() { else { alert(jsonData.confirm); - $('#forgot_password_form .ajax-loader').hide(); + $('#forgot_password_form').hide(); displayLogin(); } }, error: function(XMLHttpRequest, textStatus, errorThrown) { $('#error').html('Details: Error thrown: ' + XMLHttpRequest + '
Text status: ' + textStatus + '
').show(); - $('#forgot_password_form .ajax-loader').fadeOut('slow'); + $('#forgot_password_form').fadeOut('slow'); } }); }); } function displayErrors(errors) { - str_errors = '' + (errors.length > 1 ? there_are : there_is) + ' ' + errors.length + ' ' + (errors.length > 1 ? label_errors : label_error) + '