From 14501332e0ea6fcf31d0396c2bc895350bbe23d0 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Fri, 1 Feb 2013 16:06:14 +0400
Subject: [PATCH] js: remove several commented out functions

---
 js/tt-rss.js   | 20 --------------------
 js/viewfeed.js | 35 -----------------------------------
 2 files changed, 55 deletions(-)

diff --git a/js/tt-rss.js b/js/tt-rss.js
index 7cbe3cfc5..9d18519b2 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -534,26 +534,6 @@ function viewLimitChanged() {
 	return viewCurrentFeed('');
 }
 
-/* function adjustArticleScore(id, score) {
-	try {
-
-		var pr = prompt(__("Assign score to article:"), score);
-
-		if (pr != undefined) {
-			var query = "?op=rpc&method=setScore&id=" + id + "&score=" + pr;
-
-			new Ajax.Request("backend.php",	{
-			parameters: query,
-			onComplete: function(transport) {
-					viewCurrentFeed();
-				} });
-
-		}
-	} catch (e) {
-		exception_error("adjustArticleScore", e);
-	}
-} */
-
 function rescoreCurrentFeed() {
 
 	var actid = getActiveFeedId();
diff --git a/js/viewfeed.js b/js/viewfeed.js
index a59e28a5f..d575dc6d1 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -1475,41 +1475,6 @@ function show_labels_in_headlines(transport) {
 	}
 }
 
-/* function toggleHeadlineActions() {
-	try {
-		var e = $("headlineActionsBody");
-		var p = $("headlineActionsDrop");
-
-		if (!Element.visible(e)) {
-			Element.show(e);
-		} else {
-			Element.hide(e);
-		}
-
-		e.scrollTop = 0;
-		e.style.left = (p.offsetLeft + 1) + "px";
-		e.style.top = (p.offsetTop + p.offsetHeight + 2) + "px";
-
-	} catch (e) {
-		exception_error("toggleHeadlineActions", e);
-	}
-} */
-
-/* function publishWithNote(id, def_note) {
-	try {
-		if (!def_note) def_note = '';
-
-		var note = prompt(__("Please enter a note for this article:"), def_note);
-
-		if (note != undefined) {
-			togglePub(id, false, false, note);
-		}
-
-	} catch (e) {
-		exception_error("publishWithNote", e);
-	}
-} */
-
 function dismissArticle(id) {
 	try {
 		var elem = $("RROW-" + id);
-- 
GitLab