summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-12-14 21:53:45 +0300
committerAndrew Dolgov <[email protected]>2021-12-14 21:53:45 +0300
commit720b31879634f21ea7db85f49d6f07ec7d7344bc (patch)
treea8657d8762cd2d5d8ea3118731cc9826e9678d05 /js/Feeds.js
parent8a645892a60bc3181f598d2192f01cc21f35b719 (diff)
* fox.form.Select: add several properties allowing it to better
imitate other controls like DropDownButton, etc. * rework several main toolbar items to use fox.form.Select instead of other controls * replace HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM with HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2 because of markup change (option instead of menuitem) * PluginHost: add some explicit typecasts to make intellephense shut up
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 5ef554af0..714eb77d2 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -282,6 +282,10 @@ const Feeds = {
CommonDialogs.safeModeWarning();
}
+ dojo.connect(dijit.byId("main-catchup-dropdown"), 'onItemClick',
+ (item) => Feeds.catchupCurrent(item.option.value)
+ );
+
// bw_limit disables timeout() so we request initial counters separately
if (App.getInitParam("bw_limit")) {
this.requestCounters();