prevent feed search from sticking when moving between feeds

This commit is contained in:
Andrew Dolgov 2009-10-06 15:43:13 +04:00
parent 164469f902
commit 3d48d3a15f
1 changed files with 1 additions and 0 deletions

View 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;
}