From 27372ddac6b17ab2700ec2f9bc6bc1ac0ea153fe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 30 Apr 2013 20:07:08 +0400 Subject: [PATCH] fix editArticleTags() call broken on archived feed --- classes/feeds.php | 2 +- js/tt-rss.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {