mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:05:55 +00:00
closeInfoBox: properly cleanup contents
This commit is contained in:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user