]> git.wh0rd.org Git - tt-rss.git/commitdiff
CDM mode: remove obsolete 't' hotkey
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 May 2008 02:13:50 +0000 (03:13 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 May 2008 02:13:50 +0000 (03:13 +0100)
help/3.php
tt-rss.js
viewfeed.js

index 21331268192bc6a7c4e7303d1e19a8aca12f7490..950bcd5e49c7753faf835cbc9d01fbc7f3e62060 100644 (file)
                <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>
index 3e691245df4673006f946cfb51ae84064b65349c..480da1a62733b1735af969bdc8b1ff5279709b6f 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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()) {
index 2deb9a656907c8e28b1c25b899b79a58467abf64..fb72751272bad0e47417d802a9a2beebd7c7eb04 100644 (file)
@@ -1588,6 +1588,7 @@ function cdmClicked(elem) {
                        active_post_id = id;
 
                        cdmSelectArticles("none");
+                       toggleUnread(id, 0, true);
                        toggleSelected(id);
 
                }