summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-02-03 16:35:16 +0300
committerAndrew Dolgov <[email protected]>2010-02-03 16:35:16 +0300
commitf2a648e1b28dcc92fb52886b22a68fcb7b1f80b8 (patch)
tree1c51542984717987b41e41ed3bbd2c34a49c892c /feedlist.js
parentd002edc715469b98d94150035d488ce5f1a79285 (diff)
code cleanup
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/feedlist.js b/feedlist.js
index d7b35ba98..b140c6d07 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -30,40 +30,6 @@ function viewCategory(cat) {
return false;
}
-function printFeedEntry(id, title, row_class, unread, icon) {
-
- var tmp = "";
- var fctr_class = "";
- var feed_icon = "";
-
- if (unread > 0) {
- row_class += "Unread";
- fctr_class = "feedCtrHasUnread";
- } else {
- fctr_class = "feedCtrNoUnread";
- }
-
- if (icon) {
- feed_icon = "<img id='FIMG-"+id+"' src='" + icon + "'>";
- } else {
- feed_icon = "<img id='FIMG-"+id+"' src='images/blank_icon.gif'>";
- }
-
- var link = "<a title=\"FIXME\" id=\"FEEDL-"+id+"\""+
- "href=\"javascript:viewfeed('"+id+"', '', false, '', false, 0);\">"+
- title + "</a>";
-
- tmp += "<li id='FEEDR-"+id+"' class="+row_class+">" + feed_icon +
- "<span id=\"FEEDN-"+id+"\">" + link + "</span>";
-
- tmp += " <span class='"+fctr_class+"' id=\"FEEDCTR-"+id+"\">" +
- "(<span id=\"FEEDU-"+id+"\">"+unread+"</span>)</span>";
-
- tmp += "</li>";
-
- return tmp;
-}
-
function render_feedlist(data) {
try {
@@ -429,9 +395,6 @@ function feedlist_dragsorted(ctr) {
function feedlist_init() {
try {
-// if (arguments.callee.done) return;
-// arguments.callee.done = true;
-
loading_set_progress(90);
debug("in feedlist init");