From 55132a454f997aef9fab29ad86e8f7bac6e0a1b6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 3 Feb 2010 15:01:33 +0300 Subject: [PATCH] closeInfoBox: properly cleanup contents --- functions.js | 2 +- modules/popup-dialog.php | 2 +- tt-rss.js | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) 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, ""); -- 2.39.5