From: Andrew Dolgov Date: Sun, 11 Sep 2005 03:02:23 +0000 (+0100) Subject: search toolbar ui change X-Git-Tag: 1.0.4~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4ce1985967547f715c6448b4e72e9e62826aab7f;p=tt-rss.git search toolbar ui change --- 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: