summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-22 11:32:54 +0400
committerAndrew Dolgov <[email protected]>2012-12-22 11:32:54 +0400
commitca3bb6c75f5bc2430d7e57ec868813ea4407c544 (patch)
treed4264361db89fc500fa04a852c631c4176fcff6d /js
parent8e00e9beb4778f389c28330f17e6038421845691 (diff)
add f-D debug feed update hotkey
Diffstat (limited to 'js')
-rw-r--r--js/tt-rss.js10
1 files changed, 10 insertions, 0 deletions
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())