mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:05:55 +00:00
add f-D debug feed update hotkey
This commit is contained in:
10
js/tt-rss.js
10
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 (keycode == 69) { // e
|
||||||
|
|
||||||
if (activeFeedIsCat())
|
if (activeFeedIsCat())
|
||||||
|
|||||||
Reference in New Issue
Block a user