//
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() {
|
$(document).ready(function() {
|
||||||
if (document.getElementById('email')) document.getElementById('email').focus();
|
if (document.getElementById('email')) document.getElementById('email').focus(); //$("#login").effect( "slide", { direction: "up" }, 1000 );
|
||||||
//$("#login").effect( "slide", { direction: "up" }, 1000 );
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function displayForgotPassword() {
|
function displayForgotPassword() {
|
||||||
@@ -36,11 +35,7 @@ function doAjaxLogin() {
|
|||||||
if (jsonData.hasErrors) {
|
if (jsonData.hasErrors) {
|
||||||
displayErrors(jsonData.errors);
|
displayErrors(jsonData.errors);
|
||||||
} else {
|
} else {
|
||||||
$("#login").effect("slide", {
|
window.location.href = jsonData.redirect;
|
||||||
direction: "up"
|
|
||||||
}, 1000, function() {
|
|
||||||
window.location.href = jsonData.redirect;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
|
|||||||
Reference in New Issue
Block a user