summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-01-01 12:55:14 +0100
committerAndrew Dolgov <[email protected]>2007-01-01 12:55:14 +0100
commit92f3bcaecc9143f7933b9ba10052ed9d37eeb288 (patch)
tree67fdef76b2c555334a399d2f991f3e1aa0070d68 /tt-rss.js
parent6002818ba65f9a913164c8f89c1040a8d21d08fd (diff)
block feed editor dialog for tags, labels and such
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 533dd4f13..66f6bff3d 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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);