remove menu options to manually un/archive articles

master
Andrew Dolgov 4 years ago
parent 78ed64932f
commit b2993bcd30

@ -83,10 +83,7 @@ class Feeds extends Handler_Protected {
$reply .= "<option value=\"Article.selectionSetScore()\">".__('Set score')."</option>";
if ($feed_id == 0 && !$is_cat) {
$reply .= "<option value=\"Headlines.archiveSelection()\">".__('Move back')."</option>";
$reply .= "<option value=\"Headlines.deleteSelection()\">".__('Delete')."</option>";
} else {
$reply .= "<option value=\"Headlines.archiveSelection()\">".__('Archive')."</option>";
}
if (PluginHost::getInstance()->get_plugin("mail")) {

@ -1085,6 +1085,7 @@ const Headlines = {
}
}
},
/* not exposed in the UI by default, deprecated - ? */
archiveSelection: function () {
const rows = Headlines.getSelected();

Loading…
Cancel
Save