includes/clientside/static/faders.js
changeset 38 ed06961e54dd
parent 32 4d87aad3c4c0
child 53 3dea509d88ae
--- a/includes/clientside/static/faders.js	Sun Jul 01 17:12:42 2007 -0400
+++ b/includes/clientside/static/faders.js	Mon Jul 02 15:17:54 2007 -0400
@@ -128,13 +128,19 @@
   
   this.clickHandler = function() { messagebox_click(this, mb_current_obj); };
   
-  if(type & MB_ICONINFORMATION || type & MB_ICONSTOP || type & MB_ICONQUESTION || type & MB_ICONEXCLAMATION || type & MB_ICONLOCK)
+  if( ( type & MB_ICONINFORMATION || type & MB_ICONSTOP || type & MB_ICONQUESTION || type & MB_ICONEXCLAMATION ) && !(type & MB_ICONLOCK) )
   {
     mydiv.style.paddingLeft = '50px';
     mydiv.style.width = '360px';
     mydiv.style.backgroundRepeat = 'no-repeat';
     mydiv.style.backgroundPosition = '8px 8px';
   }
+  else if ( type & MB_ICONLOCK )
+  {
+    mydiv.style.paddingLeft = '50px';
+    mydiv.style.width = '360px';
+    mydiv.style.backgroundRepeat = 'no-repeat';
+  }
   
   if(type & MB_ICONINFORMATION)
   {