JSON parse failures should spawn their own darkener layer now instead of reusing the main one if applicable
--- 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');
});
}
}