]> git.wh0rd.org Git - tt-rss.git/commitdiff
add dispatcher function to edit current entry in prefs
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 May 2008 07:58:52 +0000 (08:58 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 May 2008 07:58:52 +0000 (08:58 +0100)
help/4.php
prefs.js

index 0631ef17aaf07503f551e85d559d6bd4934cead9..d452183f5e28499a597e21cc5ac0e1b7cb602d24 100644 (file)
@@ -20,6 +20,7 @@
 
        <table>
                <tr><td class='n'>c s</td><td><?php echo __("Subscribe to feed") ?></td></tr>
+               <tr><td class='n'>c T</td><td><?php echo __("Top 25 feeds") ?></td></tr>
                <tr><td class='n'>c c</td><td><?php echo __("Edit feed categories") ?></td></tr>
                <tr><td class='n'>c f</td><td><?php echo __("Create filter") ?></td></tr>
                <tr><td class='n'>c l</td><td><?php echo __("Create label") ?></td></tr>
index 8c0b84127535914ad4246529726d05dbcc29fb18..78ec548a949ff4f647be1c130dcf541d4be22df2 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -1773,6 +1773,14 @@ function pref_hotkey_handler(e) {
                                return editFeedCats();
                        }
 
+                       if (keycode == 84 && shift_key) { // T
+                               return browseFeeds();
+                       }
+
+                       if (keycode == 69) { // e
+                               return editCurrentEntryDispatcher();
+                       }
+
                }
 
                /* Prefix g */
@@ -2102,6 +2110,10 @@ function rescore_all_feeds() {
                        xmlhttp.onreadystatechange=notify_callback;
                        xmlhttp.send(null);
                }
+}
+
+function editCurrentEntryDispatcher() {
+       
 
 
 }