fix editArticleTags() call broken on archived feed

This commit is contained in:
Andrew Dolgov 2013-04-30 20:07:08 +04:00
parent b18d109f22
commit 27372ddac6
2 changed files with 2 additions and 2 deletions

View 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 = "";

View 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() {