From: Andrew Dolgov Date: Wed, 3 Feb 2010 12:01:33 +0000 (+0300) Subject: closeInfoBox: properly cleanup contents X-Git-Tag: 1.4.1~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=55132a454f997aef9fab29ad86e8f7bac6e0a1b6;p=tt-rss.git closeInfoBox: properly cleanup contents --- diff --git a/functions.js b/functions.js index 5ce714b5..56b7909d 100644 --- a/functions.js +++ b/functions.js @@ -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); diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index b55799ba..e6132982 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -426,7 +426,7 @@ print "
- +
"; print ""; diff --git a/tt-rss.js b/tt-rss.js index 05fefea3..d93ea260 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -315,10 +315,6 @@ function resetSearch() { } } -function searchCancel() { - closeInfoBox(true); -} - function search() { closeInfoBox(); viewCurrentFeed(0, "");