mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 18:11:29 +00:00
block feed editor dialog for tags, labels and such
This commit is contained in:
@@ -580,6 +580,11 @@ function editFeedDlg(feed) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (feed <= 0 || active_feed_is_cat || tagsAreDisplayed()) {
|
||||
alert("You can't edit this kind of feed.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (xmlhttp_ready(xmlhttp)) {
|
||||
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editfeed&id=" +
|
||||
param_escape(feed), true);
|
||||
|
||||
Reference in New Issue
Block a user