summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-09 09:36:56 +0100
committerAndrew Dolgov <[email protected]>2007-08-09 09:36:56 +0100
commita219fec54d09f81da2686a8817dd67ae98872661 (patch)
treee8ee4caa2d283eb58354592a827df7fa983736a9 /functions.js
parente2ccbfab0a8e734df65ad89f817e0b8e10a3481c (diff)
CDM and infinite scrolling tweaks
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js15
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);