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