This commit is contained in:
vAugagneur committed 2011-11-23 22:45:25 +00:00
1 parent 2bbbb8ce96
commit 29002c7d10
1 file changed
+2 -7
+2 -7
View File
@@ -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) {