closeInfoBox: properly cleanup contents
This commit is contained in:
parent
a44049f661
commit
55132a454f
|
@ -1266,7 +1266,7 @@ function closeInfoBox(cleanup) {
|
|||
Element.hide("dialog_overlay");
|
||||
Element.hide("infoBoxShadow");
|
||||
|
||||
if (cleanup) $("infoBoxShadow").innerHTML = " ";
|
||||
if (cleanup) $("infoBox").innerHTML = " ";
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("closeInfoBox", e);
|
||||
|
|
|
@ -426,7 +426,7 @@
|
|||
|
||||
print "<div class=\"dlgButtons\">
|
||||
<button onclick=\"javascript:search()\">".__('Search')."</button>
|
||||
<button onclick=\"javascript:searchCancel()\">".__('Cancel')."</button>
|
||||
<button onclick=\"javascript:closeInfoBox(true)\">".__('Cancel')."</button>
|
||||
</div>";
|
||||
|
||||
print "</div>";
|
||||
|
|
Loading…
Reference in New Issue