From 55132a454f997aef9fab29ad86e8f7bac6e0a1b6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 3 Feb 2010 15:01:33 +0300 Subject: 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 5ce714b5d..56b7909d4 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 b55799ba3..e61329820 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 05fefea3a..d93ea260a 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -315,10 +315,6 @@ function resetSearch() { } } -function searchCancel() { - closeInfoBox(true); -} - function search() { closeInfoBox(); viewCurrentFeed(0, ""); -- cgit v1.2.3