includes/clientside/static/login.js
changeset 728 067a6173820c
parent 718 12485b1d41fd
child 741 a216e412c439
equal deleted inserted replaced
727:591562495e87 728:067a6173820c
   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);