add f-D debug feed update hotkey

This commit is contained in:
Andrew Dolgov 2012-12-22 11:32:54 +04:00
parent 8e00e9beb4
commit ca3bb6c75f
1 changed files with 10 additions and 0 deletions

View 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())