diff options
author | Andrew Dolgov <[email protected]> | 2016-07-26 15:55:00 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-07-26 15:55:00 +0300 |
commit | 64c24ecb5973adad700612b0ec913b190e8b1e58 (patch) | |
tree | f69de81773a3fd963aa5334acbfea2464eb0149a /js/tt-rss.js | |
parent | 76ba1df76e9ce3733c990e1d953706b691ee7b14 (diff) |
add hotkey for toggling VFEED_GROUP_BY_FEED preference
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 2f738810b..108b65a7f 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -441,6 +441,16 @@ function init() { hotkey_actions["feed_reverse"] = function() { reverseHeadlineOrder(); }; + hotkey_actions["feed_toggle_vgroup"] = function() { + var query_str = "?op=rpc&method=togglepref&key=VFEED_GROUP_BY_FEED"; + + new Ajax.Request("backend.php", { + parameters: query_str, + onComplete: function(transport) { + viewCurrentFeed(); + } }); + + }; hotkey_actions["catchup_all"] = function() { catchupAllFeeds(); }; |