Code

Hide iframe in case of ie too
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Jun 2007 10:47:06 +0000 (10:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Jun 2007 10:47:06 +0000 (10:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6701 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index 64222f5af1ead343a55a603f311c631d2edf90dc..37bfa9fa06a7a6dc8f27ebc7d1a29056406c2d36 100644 (file)
@@ -1074,7 +1074,9 @@ function print_red()
                           height:100%;
                           top:0px;
                           left:0px;
-                          border:none;
+                          border:none;  
+                          border-style:none; 
+                          border-width:0pt;
                           display:block;
                           allowtransparency='true';
                           background-color: #FFFFFF;
@@ -1093,6 +1095,7 @@ function print_red()
                   height:100%;
                   filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='images/opacity_black.png'); \">
               </div>";
+              $hide = "hide(\"e_layer\");hide(\"e_layer2\");hide(\"e_layer3\");";
           }else{
 
             $_SESSION['errors'].= "
@@ -1106,6 +1109,7 @@ function print_red()
                   z-index:0;
                   background-image: url(images/opacity_black.png);\">
                </div>";
+              $hide = "hide(\"e_layer\");hide(\"e_layer2\");";
           }
 
         $_SESSION['errors'].= "
@@ -1117,7 +1121,7 @@ function print_red()
          "<td style='width:100%'><h1>"._("An error occurred while processing your request").
          "</h1><b>$string</b><br><br>$addmsg</td></tr><tr><td colspan='2' align='center'><br><button ".
          (($_SESSION['js']==FALSE)?"type='submit'":"type='button' name='error_accept'").
-         " style='width:80px' onClick='hide(\"e_layer\");hide(\"e_layer2\");hide(\"e_layer3\");'>".
+         " style='width:80px' onClick='".$hide."'>".
          _("OK")."</button></td></tr></table></div>";
 
         }