From: Andrew Dolgov Date: Tue, 30 Apr 2013 16:07:08 +0000 (+0400) Subject: fix editArticleTags() call broken on archived feed X-Git-Tag: 1.7.9~25^2~53 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=27372ddac6b17ab2700ec2f9bc6bc1ac0ea153fe;p=tt-rss.git fix editArticleTags() call broken on archived feed --- diff --git a/classes/feeds.php b/classes/feeds.php index 567d13b2..f21bb3ce 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -687,7 +687,7 @@ class Feeds extends Handler_Protected { $reply['content'] .= "Tags $tags_str (+)"; + href=\"#\" onclick=\"editArticleTags($id)\">(+)"; $num_comments = $line["num_comments"]; $entry_comments = ""; diff --git a/js/tt-rss.js b/js/tt-rss.js index 2a741ab2..c6c0c13d 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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() {