]> git.wh0rd.org Git - tt-rss.git/commitdiff
js: remove several commented out functions
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 1 Feb 2013 12:06:14 +0000 (16:06 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 1 Feb 2013 12:06:14 +0000 (16:06 +0400)
js/tt-rss.js
js/viewfeed.js

index 7cbe3cfc56e1037d9d5089858dbbf4fc7e0a8edf..9d18519b2e12c4f36d6648a8aada1feb29a96b69 100644 (file)
@@ -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();
index a59e28a5f6fc8db0eb5c12841b98ba616c330e1f..d575dc6d1f9534bea50f2f74677ed684fc242e03 100644 (file)
@@ -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);