From: Andrew Dolgov Date: Sat, 10 Dec 2011 18:40:12 +0000 (+0400) Subject: js: misc cleanup X-Git-Tag: 1.5.8~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b167df5e60143efbd4cc9121b7c4825f4f6608d1;p=tt-rss.git js: misc cleanup --- diff --git a/feedlist.js b/feedlist.js index e0ffae7f..62c44b49 100644 --- a/feedlist.js +++ b/feedlist.js @@ -378,10 +378,6 @@ function getFeedUnread(feed, is_cat) { return -1; } -function resort_feedlist() { - console.warn("resort_feedlist: function not implemented"); -} - function hideOrShowFeeds(hide) { var tree = dijit.byId("feedTree"); diff --git a/functions.php b/functions.php index a1dffc85..cad0b21c 100644 --- a/functions.php +++ b/functions.php @@ -5077,24 +5077,24 @@ $marked_pic = "\"Unstar"; + onclick='javascript:toggleMark($id)'>"; } else { $marked_pic = "\"Star"; + onclick='javascript:toggleMark($id)'>"; } if ($line["published"] == "t" || $line["published"] == "1") { $published_pic = "\"Unpublish"; + alt=\"Unpublish article\" onclick='javascript:togglePub($id)'>"; } else { $published_pic = "\"Publish"; + alt=\"Publish article\" onclick='javascript:togglePub($id)'>"; } # $content_link = "" . diff --git a/help/3.php b/help/3.php index fa2ee458..e1812b3f 100644 --- a/help/3.php +++ b/help/3.php @@ -33,7 +33,6 @@ c l c f c s - ? @@ -52,11 +51,9 @@ - - diff --git a/tt-rss.js b/tt-rss.js index 39e5cece..36e0d8cc 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -914,11 +914,6 @@ function hotkey_handler(e) { } } - if (keycode == 87) { // w - feeds_sort_by_unread = !feeds_sort_by_unread; - return resort_feedlist(); - } - if (keycode == 88) { // x reverseHeadlineOrder(); return; diff --git a/viewfeed.js b/viewfeed.js index 52f081ba..c7236c60 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -404,14 +404,6 @@ function view(id) { } } -function tMark(id) { - return toggleMark(id); -} - -function tPub(id) { - return togglePub(id); -} - function toggleMark(id, client_only) { try { var query = "?op=rpc&id=" + id + "&subop=mark";
f r
f a
f s
f e
f q
f x
Q