equal
deleted
inserted
replaced
497 if ( response.error == 'The username and/or password is incorrect.' ) |
497 if ( response.error == 'The username and/or password is incorrect.' ) |
498 { |
498 { |
499 ajax_auth_error_string = response.error; |
499 ajax_auth_error_string = response.error; |
500 mb_current_obj.updateContent(''); |
500 mb_current_obj.updateContent(''); |
501 document.getElementById('messageBox').style.backgroundColor = '#C0C0C0'; |
501 document.getElementById('messageBox').style.backgroundColor = '#C0C0C0'; |
502 new Spry.Effect.Shake('messageBox', {duration: 1500}).start(); |
502 var mb_parent = document.getElementById('messageBox').parentNode; |
503 new Spry.Effect.Shake('messageBoxButtons', {duration: 1500}).start(); |
503 new Spry.Effect.Shake(mb_parent, {duration: 1500}).start(); |
504 setTimeout("document.getElementById('messageBox').style.backgroundColor = '#FFF'; ajaxAuthLoginInnerSetup();", 2500); |
504 setTimeout("document.getElementById('messageBox').style.backgroundColor = '#FFF'; ajaxAuthLoginInnerSetup();", 2500); |
505 } |
505 } |
506 else |
506 else |
507 { |
507 { |
508 alert(response.error); |
508 alert(response.error); |