git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10630 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2011-11-23 22:45:25 +00:00
parent c66db0eef1
commit c3e7c28220
+2 -7
View File
@@ -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) {