CDM mode: remove obsolete 't' hotkey

This commit is contained in:
Andrew Dolgov 2008-05-16 03:13:50 +01:00
parent 5ad9d13211
commit b61cf20ca2
3 changed files with 7 additions and 6 deletions

View File

@ -16,13 +16,13 @@
<tr><td class='n'>s</td><td>Toggle starred</td></tr>
<tr><td class='n'>shift-S</td><td>Toggle published</td></tr>
<tr><td class='n'>u</td><td>Toggle unread</td></tr>
<tr><td class='n'>T</td><td>Edit tags</td></tr>
<tr><td class='n'>t</td><td>Edit tags</td></tr>
<? if (get_pref($link, "COMBINED_DISPLAY_MODE")) { ?>
<!-- <? if (get_pref($link, "COMBINED_DISPLAY_MODE")) { ?>
<tr><td class='n'>t</td><td>Select article under mouse pointer</td></tr>
<? } else { ?>
<tr><td class='n'>t</td><td class="insensitive">Select article under mouse pointer <span class="small"></span></td></tr>
<? } ?>
<? } ?> -->
<!-- <tr><td class='n'>S</td><td>Edit score</td></tr> -->
</table>

View File

@ -1026,14 +1026,14 @@ function hotkey_handler(e) {
return;
}
if (keycode == 84 && shift_key) { // t
if (keycode == 84) { // t
var id = getActiveArticleId();
if (id) {
editArticleTags(id, getActiveFeedId(), isCdmMode());
}
}
if (keycode == 84) { // t
/* if (keycode == 84) { // t
var id = getActiveArticleId();
if (id) {
var cb = document.getElementById("RCHK-" + id);
@ -1043,7 +1043,7 @@ function hotkey_handler(e) {
toggleSelectRowById(cb, "RROW-" + id);
}
}
}
} */
if (keycode == 79) { // o
if (getActiveArticleId()) {

View File

@ -1588,6 +1588,7 @@ function cdmClicked(elem) {
active_post_id = id;
cdmSelectArticles("none");
toggleUnread(id, 0, true);
toggleSelected(id);
}