summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 9259cd547..ccb982cb3 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -441,7 +441,8 @@ const Feeds = {
const show_next_feed = App.getInitParam("on_catchup_show_next_feed");
- if (show_next_feed) {
+ // only select next unread feed if catching up entirely (as opposed to last week etc)
+ if (show_next_feed && !mode) {
const nuf = this.getNextUnread(feed, is_cat);
if (nuf) {
@@ -561,6 +562,7 @@ const Feeds = {
{op: "feeds", method: "search",
param: Feeds.getActive() + ":" + Feeds.activeIsCat()},
(transport) => {
+
const dialog = new dijit.Dialog({
id: "searchDlg",
content: transport.responseText,
@@ -580,7 +582,7 @@ const Feeds = {
},
});
- const tmph = dojo.connect(dialog, 'onLoad', function () {
+ const tmph = dojo.connect(dialog, 'onShow', function () {
dojo.disconnect(tmph);
if (Feeds._search_query) {