]> git.wh0rd.org Git - tt-rss.git/commitdiff
add f-D debug feed update hotkey
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 22 Dec 2012 07:32:54 +0000 (11:32 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 22 Dec 2012 07:32:54 +0000 (11:32 +0400)
js/tt-rss.js

index 93aca682a12913f45ff186d5bdc62ec7be37bc7a..fd02081bb91352b2714c89e6e417f0679d12d8aa 100644 (file)
@@ -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())