diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/functions.js b/functions.js index a6aa133ef..eb49bb24c 100644 --- a/functions.js +++ b/functions.js @@ -335,6 +335,21 @@ function hotkey_handler(e) { } } + if (keycode == 84) { // t + + var id = getActiveArticleId(); + + if (id) { + + var cb = document.getElementById("RCHK-" + id); + + if (cb) { + cb.checked = !cb.checked; + toggleSelectRowById(cb, "RROW-" + id); + } + } + } + if (typeof localHotkeyHandler != 'undefined') { try { return localHotkeyHandler(e); |