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