JSON parse failures should spawn their own darkener layer now instead of reusing the main one if applicable
authorDan
Sat, 08 Nov 2008 22:37:12 -0500
changeset 727 591562495e87
parent 726 17e8c93b4729
child 728 067a6173820c
JSON parse failures should spawn their own darkener layer now instead of reusing the main one if applicable
includes/clientside/static/functions.js
--- a/includes/clientside/static/functions.js	Sat Nov 08 22:36:28 2008 -0500
+++ b/includes/clientside/static/functions.js	Sat Nov 08 22:37:12 2008 -0500
@@ -160,7 +160,7 @@
   load_component('flyin');
   load_component('l10n');
   
-  darken(aclDisableTransitionFX);
+  darken(aclDisableTransitionFX, 70, 'invalidjsondarkener');
   
   var box = document.createElement('div');
   var mainwin = document.createElement('div');
@@ -292,14 +292,14 @@
       if ( aclDisableTransitionFX )
       {
         parentdiv.parentNode.removeChild(parentdiv);
-        enlighten(aclDisableTransitionFX);
+        enlighten(aclDisableTransitionFX, 'invalidjsondarkener');
       }
       else
       {
         $(parentdiv).hide("blind", {}, 1000, function()
           {
             parentdiv.parentNode.removeChild(parentdiv);
-              enlighten();
+              enlighten(aclDisableTransitionFX, 'invalidjsondarkener');
           });
       }
     }