summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-21 13:35:16 +0300
committerAndrew Dolgov <[email protected]>2010-11-21 13:35:16 +0300
commit973fe3c6faf777e72cade843c5cc3cf5227f2a0e (patch)
tree611eb95a45b8b831cd1176f56acb702499b0a2e3 /feedlist.js
parent83331f6e1d2a16852ae800c5d0171d0577ee0d1f (diff)
rework search dialog
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/feedlist.js b/feedlist.js
index d694b9be7..05a16d865 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -1,6 +1,7 @@
var _feed_cur_page = 0;
var _infscroll_disable = 0;
var _infscroll_request_sent = 0;
+var _search_query = false;
var counter_timeout_id = false;
@@ -100,12 +101,10 @@ function viewfeed(feed, subop, is_cat, offset) {
var query = "?op=viewfeed&feed=" + feed + "&" +
toolbar_query + "&subop=" + param_escape(subop);
- if ($("search_form")) {
- var search_query = Form.serialize("search_form");
- query = query + "&" + search_query;
- $("search_form").query.value = "";
- closeInfoBox(true);
+ if (_search_query) {
force_nocache = true;
+ query = query + "&" + _search_query;
+ _search_query = false;
}
// console.log("IS_CAT_STORED: " + activeFeedIsCat() + ", IS_CAT: " + is_cat);