diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 22:39:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 22:39:29 +0300 |
commit | 1e2d4410d320fcee644add76293f229741a163cb (patch) | |
tree | 11228eaba3165f1ef5503c7ffa23e577d1fc886b /js/tt-rss.js | |
parent | 4b492cc93ef2a15a4d5dfe51d38164884464d1a9 (diff) |
move some more shared stuff to CommonDialogs, Filters, and Utils
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 6dd4a91eb..9c5a78ce2 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -360,7 +360,7 @@ const App = { if (Feeds.activeFeedIsCat()) alert(__("You can't edit this kind of feed.")); else - editFeed(Feeds.getActiveFeedId()); + CommonDialogs.editFeed(Feeds.getActiveFeedId()); }; this.hotkey_actions["feed_catchup"] = function () { if (Feeds.getActiveFeedId() != undefined) { @@ -424,7 +424,7 @@ const App = { CommonDialogs.addLabel(); }; this.hotkey_actions["create_filter"] = function () { - quickAddFilter(); + Filters.quickAddFilter(); }; this.hotkey_actions["collapse_sidebar"] = function () { Feeds.viewCurrentFeed(); @@ -501,7 +501,7 @@ const App = { if (Feeds.activeFeedIsCat()) alert(__("You can't edit this kind of feed.")); else - editFeed(Feeds.getActiveFeedId()); + CommonDialogs.editFeed(Feeds.getActiveFeedId()); break; case "qmcRemoveFeed": var actid = Feeds.getActiveFeedId(); @@ -521,7 +521,7 @@ const App = { var pr = __("Unsubscribe from %s?").replace("%s", fn); if (confirm(pr)) { - unsubscribeFeed(actid); + CommonDialogs.unsubscribeFeed(actid); } break; case "qmcCatchupAll": |