includes/clientside/static/misc.js
changeset 175 1465f48faba0
parent 174 4c5c2b66a34d
child 176 1bc7e849a264
--- a/includes/clientside/static/misc.js	Sun Oct 07 08:39:40 2007 -0400
+++ b/includes/clientside/static/misc.js	Sun Oct 07 16:56:14 2007 -0400
@@ -499,8 +499,8 @@
               ajax_auth_error_string = response.error;
               mb_current_obj.updateContent('');
               document.getElementById('messageBox').style.backgroundColor = '#C0C0C0';
-              new Spry.Effect.Shake('messageBox', {duration: 1500}).start();
-              new Spry.Effect.Shake('messageBoxButtons', {duration: 1500}).start();
+              var mb_parent = document.getElementById('messageBox').parentNode;
+              new Spry.Effect.Shake(mb_parent, {duration: 1500}).start();
               setTimeout("document.getElementById('messageBox').style.backgroundColor = '#FFF'; ajaxAuthLoginInnerSetup();", 2500);
             }
             else