function closeInfoBox(cleanup) {
- if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
- var overlay = document.getElementById("dialog_overlay");
- if (overlay) {
- overlay.style.display = "none";
- }
- }
+ Element.hide("dialog_overlay");
var box = document.getElementById('infoBox');
var shadow = document.getElementById('infoBoxShadow');
debug("infobox_callback2");
- if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
- var overlay = document.getElementById("dialog_overlay");
- if (overlay) {
- overlay.style.display = "block";
- }
+ if (!getInitParam("infobox_disable_overlay")) {
+ Element.show("dialog_overlay");
}
var box = document.getElementById('infoBox');
<div id="notify" class="notify"><span id="notify_body"> </span></div>
<div id="infoBoxShadow"><div id="infoBox">BAH</div></div>
-<div id="dialog_overlay"> </div>
+<div id="dialog_overlay" style="display : none"> </div>
<div id="prefFooter">
<?php if (defined('_DEBUG_USER_SWITCH')) { ?>
<div id="fatal_error_msg">Unknown Error</div>
</div></div>
-<div id="dialog_overlay"> </div>
+<div id="dialog_overlay" style="display : none"> </div>
<script type="text/javascript">
if (document.addEventListener) {