1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

block feed editor dialog for tags, labels and such

This commit is contained in:
Andrew Dolgov 2007-01-01 12:55:14 +01:00
parent 6002818ba6
commit 92f3bcaecc

View File

@ -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);