fix editArticleTags() call broken on archived feed
This commit is contained in:
parent
b18d109f22
commit
27372ddac6
|
@ -687,7 +687,7 @@ class Feeds extends Handler_Protected {
|
||||||
$reply['content'] .= "<img src='images/tag.png' alt='Tags' title='Tags'>
|
$reply['content'] .= "<img src='images/tag.png' alt='Tags' title='Tags'>
|
||||||
<span id=\"ATSTR-$id\">$tags_str</span>
|
<span id=\"ATSTR-$id\">$tags_str</span>
|
||||||
<a title=\"".__('Edit tags for this article')."\"
|
<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"];
|
$num_comments = $line["num_comments"];
|
||||||
$entry_comments = "";
|
$entry_comments = "";
|
||||||
|
|
|
@ -332,7 +332,7 @@ function init() {
|
||||||
hotkey_actions["edit_tags"] = function() {
|
hotkey_actions["edit_tags"] = function() {
|
||||||
var id = getActiveArticleId();
|
var id = getActiveArticleId();
|
||||||
if (id) {
|
if (id) {
|
||||||
editArticleTags(id, getActiveFeedId(), isCdmMode());
|
editArticleTags(id);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
hotkey_actions["dismiss_selected"] = function() {
|
hotkey_actions["dismiss_selected"] = function() {
|
||||||
|
|
Loading…
Reference in New Issue