]> git.wh0rd.org - tt-rss.git/commitdiff
fix editArticleTags() call broken on archived feed
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 30 Apr 2013 16:07:08 +0000 (20:07 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 30 Apr 2013 16:07:08 +0000 (20:07 +0400)
classes/feeds.php
js/tt-rss.js

index 567d13b25e1bace1fe0601f999eb288700148e0b..f21bb3ce5ed3ed3db9514391021d8a7df6493046 100644 (file)
@@ -687,7 +687,7 @@ class Feeds extends Handler_Protected {
                                        $reply['content'] .= "<img src='images/tag.png' alt='Tags' title='Tags'>
                                                <span id=\"ATSTR-$id\">$tags_str</span>
                                                <a title=\"".__('Edit tags for this article')."\"
-                                               href=\"#\" onclick=\"editArticleTags($id, $feed_id, true)\">(+)</a>";
+                                               href=\"#\" onclick=\"editArticleTags($id)\">(+)</a>";
 
                                        $num_comments = $line["num_comments"];
                                        $entry_comments = "";
index 2a741ab2dc1ac4374fe1bba92fefd9712e71837b..c6c0c13dd445177c7a6219992c3736e5f52e04a8 100644 (file)
@@ -332,7 +332,7 @@ function init() {
                hotkey_actions["edit_tags"] = function() {
                                var id = getActiveArticleId();
                                if (id) {
-                                       editArticleTags(id, getActiveFeedId(), isCdmMode());
+                                       editArticleTags(id);
                                };
                        }
                hotkey_actions["dismiss_selected"] = function() {