JS: MessageBox: Fixed z-index calc
authorDan
Fri, 21 Aug 2009 13:50:45 -0400
changeset 1091 bb8e04f74819
parent 1090 6c84fb196026
child 1092 3b97242ada21
JS: MessageBox: Fixed z-index calc
includes/clientside/static/messagebox.js
--- a/includes/clientside/static/messagebox.js	Fri Aug 21 13:50:20 2009 -0400
+++ b/includes/clientside/static/messagebox.js	Fri Aug 21 13:50:45 2009 -0400
@@ -66,7 +66,7 @@
     master_div.style.top = '-10000px';
     master_div.style.position = ( IE ) ? 'absolute' : 'fixed';
   }
-  z = ( aclDisableTransitionFX ) ? document.getElementById('specialLayer_darkener').style.zIndex : getHighestZ();
+  z = ( aclDisableTransitionFX ) ? document.getElementById('specialLayer_darkener').style.zIndex + 1: getHighestZ() + 1;
   mydiv.style.backgroundColor = '#FFFFFF';
   mydiv.style.padding = '10px';
   mydiv.style.marginBottom = '1px';