From ca3bb6c75f5bc2430d7e57ec868813ea4407c544 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 22 Dec 2012 11:32:54 +0400 Subject: add f-D debug feed update hotkey --- js/tt-rss.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'js') diff --git a/js/tt-rss.js b/js/tt-rss.js index 93aca682a..fd02081bb 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -887,6 +887,16 @@ function hotkey_handler(e) { } } + if (keycode == 68 && shift_key) { // D + + window.open("backend.php?op=feeds&method=view&feed=" + getActiveFeedId() + + "&view_mode=adaptive&order_by=default&update=&m=ForceUpdate&cat=" + + activeFeedIsCat() + "&DevForceUpdate=1&debug=2&xdebug=2&csrf_token=" + + getInitParam("csrf_token")); + + return false; + } + if (keycode == 69) { // e if (activeFeedIsCat()) -- cgit v1.2.3