From 4ce1985967547f715c6448b4e72e9e62826aab7f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 11 Sep 2005 04:02:23 +0100 Subject: [PATCH] search toolbar ui change --- functions.js | 3 ++- tt-rss.js | 7 +------ tt-rss.php | 6 ++++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/functions.js b/functions.js index 72d35dbb..cc8a5fbd 100644 --- a/functions.js +++ b/functions.js @@ -128,7 +128,8 @@ function cleanSelectedList(element) { var content = document.getElementById(element); for (i = 0; i < content.childNodes.length; i++) { - content.childNodes[i].className = content.childNodes[i].className.replace("Selected", ""); + content.childNodes[i].className = + content.childNodes[i].className.replace("Selected", ""); } } diff --git a/tt-rss.js b/tt-rss.js index 422cd6aa..3725ab43 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -274,12 +274,7 @@ function resetSearch() { } function search() { - checkActiveFeedId(); - if (getActiveFeedId()) { - viewfeed(getActiveFeedId(), 0, ""); - } else { - notify("Please select some feed first."); - } + viewCurrentFeed(0, ""); } function localPiggieFunction(enable) { diff --git a/tt-rss.php b/tt-rss.php index de1bec37..89ff4076 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -72,11 +72,13 @@   --> - Search: + class="button" onclick="javascript:search()" value="Search"> +  View: -- 2.39.5