]> git.wh0rd.org Git - tt-rss.git/commitdiff
refactor viewfeed.js toggleUnread/toggleStarred to selectionToggleUnread, selectionTo...
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 2 Dec 2005 17:13:57 +0000 (18:13 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 2 Dec 2005 17:13:57 +0000 (18:13 +0100)
backend.php
viewfeed.js

index 6969b378383eb457e30b8792e8cb26215433d096..fd265999602b1ae5820a4a904f8dfc0698c276d2 100644 (file)
                                                        <a href=\"javascript:selectTableRowsByIdPrefix('headlinesList', 
                                                                'RROW-', 'RCHK-', false)\">None</a>
                                        &nbsp;&nbsp;
-                                       Toggle: <a href=\"javascript:toggleUnread()\">Unread</a>,
-                                                       <a href=\"javascript:toggleStarred()\">Starred</a>";
+                                       Toggle: <a href=\"javascript:selectionToggleUnread()\">Unread</a>,
+                                                       <a href=\"javascript:selectionToggleMarked()\">Starred</a>";
                
                                print "</td>";
                
index 0dae392df3750041ad724b51078104db74641c0b..775b40f13522ed2b54809f2a396b38ca1b6a5a1c 100644 (file)
@@ -226,7 +226,7 @@ function localHotkeyHandler(keycode) {
 
 }
 
-function toggleUnread() {
+function selectionToggleUnread() {
        try {
                if (!xmlhttp_ready(xmlhttp_rpc)) {
                        printLockingError();
@@ -266,7 +266,7 @@ function toggleUnread() {
        }
 }
 
-function toggleStarred() {
+function selectionToggleMarked() {
        try {
                if (!xmlhttp_ready(xmlhttp_rpc)) {
                        printLockingError();