//
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10630 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-7
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user