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 = "";
- } else {
- feed_icon = "";
- }
-
- var link = ""+
- title + "";
-
- tmp += "
" + feed_icon +
- "" + link + "";
-
- tmp += " " +
- "("+unread+")";
-
- tmp += "";
-
- 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");
diff --git a/offline.js b/offline.js
index 976f8ba90..372d94392 100644
--- a/offline.js
+++ b/offline.js
@@ -1751,3 +1751,39 @@ function offlineConfirmModeChange() {
exception_error("offlineConfirmModeChange", e);
}
}
+
+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 = "";
+ } else {
+ feed_icon = "";
+ }
+
+ var link = ""+
+ title + "";
+
+ tmp += "" + feed_icon +
+ "" + link + "";
+
+ tmp += " " +
+ "("+unread+")";
+
+ tmp += "";
+
+ return tmp;
+}
+
+
diff --git a/viewfeed.js b/viewfeed.js
index f9fb8b607..d51323553 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -473,21 +473,6 @@ function view(id) {
if (!cached_article) {
-// notify_progress("Loading, please wait...", true);
-
-/* var content = $('HLC-' + id);
-
- if (content && !$('LL-' + id)) {
- var ll = document.createElement('img');
-
- ll.src = 'images/indicator_tiny.gif';
- ll.className = 'hlLoading';
- ll.id = 'LL-' + id;
-
- content.appendChild(ll);
-
- } */
-
var upic = $('FUPDPIC-' + id);
if (upic) {
@@ -597,7 +582,6 @@ function toggleMark(id, client_only, no_effects) {
}
} else {
- //mark_img.src = "images/mark_unset.png";
mark_img.alt = __("Please wait...");
query = query + "&mark=0";
@@ -665,7 +649,6 @@ function togglePub(id, client_only, no_effects, note) {
query = query + "&pub=1";
} else {
- //mark_img.src = "images/pub_unset.png";
mark_img.alt = __("Please wait...");
query = query + "&pub=0";
@@ -1128,12 +1111,6 @@ function selectionToggleMarked(cdm_mode) {
query = query + "&afid=" + getActiveFeedId();
-/* if (tagsAreDisplayed()) {
- query = query + "&omode=tl";
- } else {
- query = query + "&omode=flc";
- } */
-
query = query + "&omode=lc";
new Ajax.Request("backend.php", {
@@ -1176,12 +1153,6 @@ function selectionTogglePublished(cdm_mode) {
query = query + "&afid=" + getActiveFeedId();
-/* if (tagsAreDisplayed()) {
- query = query + "&omode=tl";
- } else {
- query = query + "&omode=flc";
- } */
-
query = query + "&omode=lc";
new Ajax.Request("backend.php", {
@@ -1438,10 +1409,8 @@ function catchupSelection() {
if ($("headlinesList")) {
selectionToggleUnread(false, false, 'viewCurrentFeed()', true);
- // selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', false);
} else {
selectionToggleUnread(true, false, 'viewCurrentFeed()', true)
- // cdmSelectArticles('none');
}
} catch (e) {
@@ -2212,43 +2181,6 @@ function zoomToArticle(id) {
}
}
-function showOriginalArticleInline(id) {
- try {
-
- var query = "?op=rpc&subop=getArticleLink&id=" + id;
-
- notify_progress("Loading, please wait...", true);
-
- new Ajax.Request("backend.php", {
- parameters: query,
- onComplete: function(transport) {
-
- if (transport.responseXML) {
-
- var link = transport.responseXML.getElementsByTagName("link")[0];
- var id = transport.responseXML.getElementsByTagName("id")[0];
-
- notify("");
-
- if (link && id) {
- link = link.firstChild.nodeValue;
-
- var ci = $("content-insert");
-
- var tmp = "";
-
- render_article(tmp);
-
- }
- }
- } });
-
- } catch (e) {
- exception_error("showOriginalArticleInline", e);
- }
-}
-
-
function scrollArticle(offset) {
try {
if (!isCdmMode()) {