equal
deleted
inserted
replaced
412 case 'login_failure': |
412 case 'login_failure': |
413 // Rid ourselves of any loading windows |
413 // Rid ourselves of any loading windows |
414 ajaxLoginSetStatus(AJAX_STATUS_DESTROY); |
414 ajaxLoginSetStatus(AJAX_STATUS_DESTROY); |
415 document.getElementById('messageBox').style.backgroundColor = '#C0C0C0'; |
415 document.getElementById('messageBox').style.backgroundColor = '#C0C0C0'; |
416 var mb_parent = document.getElementById('messageBox').parentNode; |
416 var mb_parent = document.getElementById('messageBox').parentNode; |
417 $(mb_parent).effect("shake", {}, 1500); |
417 $(mb_parent).effect("shake", {}, 200); |
418 setTimeout(function() |
418 setTimeout(function() |
419 { |
419 { |
420 document.getElementById('messageBox').style.backgroundColor = '#FFF'; |
420 document.getElementById('messageBox').style.backgroundColor = '#FFF'; |
421 ajaxLoginBuildForm(response.respawn_info); |
421 ajaxLoginBuildForm(response.respawn_info); |
422 ajaxLoginShowFriendlyError(response); |
422 ajaxLoginShowFriendlyError(response); |