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
1 changed files with 5 additions and 0 deletions

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