From c3e7c28220a1d0984fe26d717287c9d6c6d04ddb Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 23 Nov 2011 22:45:25 +0000 Subject: [PATCH] // git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10630 b9a71923-0436-4b27-9f14-aed3839534dd --- js/login.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/login.js b/js/login.js index 449a4b3e0..f0649b540 100644 --- a/js/login.js +++ b/js/login.js @@ -1,6 +1,5 @@ $(document).ready(function() { - if (document.getElementById('email')) document.getElementById('email').focus(); - //$("#login").effect( "slide", { direction: "up" }, 1000 ); + if (document.getElementById('email')) document.getElementById('email').focus(); //$("#login").effect( "slide", { direction: "up" }, 1000 ); }); function displayForgotPassword() { @@ -36,11 +35,7 @@ function doAjaxLogin() { if (jsonData.hasErrors) { displayErrors(jsonData.errors); } else { - $("#login").effect("slide", { - direction: "up" - }, 1000, function() { - window.location.href = jsonData.redirect; - }); + window.location.href = jsonData.redirect; } }, error: function(XMLHttpRequest, textStatus, errorThrown) {