]> git.wh0rd.org Git - tt-rss.git/commitdiff
prevent feed search from sticking when moving between feeds
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 6 Oct 2009 11:43:13 +0000 (15:43 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 6 Oct 2009 11:43:13 +0000 (15:43 +0400)
feedlist.js

index 7a7869bbf457012cacf66f4314b188f65b9cb695..05109ad23334d4b7998bfc0f7856b271e9d3bb00 100644 (file)
@@ -178,6 +178,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
                if ($("search_form")) {
                        var search_query = Form.serialize("search_form");
                        query = query + "&" + search_query;
+                       $("search_form").query.value = "";
                        closeInfoBox(true);
                        force_nocache = true;
                }