summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-09-03 16:41:04 +0300
committerAndrew Dolgov <[email protected]>2015-09-03 16:41:04 +0300
commit791877c39de3924aec2b3fe8e37596f062ef5a44 (patch)
tree556b9f568040c291dc9f9785204c15a26ec8be9d /js
parentc7ce438e7b7de26c2018e1b96f746d9c2ffca84e (diff)
fix catching up for grouped feeds
Diffstat (limited to 'js')
-rw-r--r--js/feedlist.js3
-rw-r--r--js/tt-rss.js6
2 files changed, 6 insertions, 3 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index 7a5996a87..d6eaf17c8 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -59,6 +59,7 @@ function viewfeed(params) {
var infscroll_req = params.infscroll_req;
var can_wait = params.can_wait;
var viewfeed_debug = params.viewfeed_debug;
+ var method = params.method;
if (is_cat == undefined)
is_cat = false;
@@ -102,6 +103,8 @@ function viewfeed(params) {
var query = "?op=feeds&method=view&feed=" + param_escape(feed) + "&" +
toolbar_query;
+ if (method) query += "&m=" + param_escape(method);
+
if (offset > 0) {
if (current_first_id) {
query = query + "&fid=" + param_escape(current_first_id);
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 2dbf8a3b5..5261485ae 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -146,11 +146,11 @@ function catchupAllFeeds() {
}
}
-function viewCurrentFeed() {
- console.log("viewCurrentFeed");
+function viewCurrentFeed(method) {
+ console.log("viewCurrentFeed: " + method);
if (getActiveFeedId() != undefined) {
- viewfeed({feed: getActiveFeedId(), is_cat: activeFeedIsCat()});
+ viewfeed({feed: getActiveFeedId(), is_cat: activeFeedIsCat(), method: method});
}
return false; // block unneeded form submits
}