From: Andrew Dolgov Date: Mon, 1 Jan 2007 11:55:14 +0000 (+0100) Subject: block feed editor dialog for tags, labels and such X-Git-Tag: 1.2.7~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=92f3bcaecc9143f7933b9ba10052ed9d37eeb288;p=tt-rss.git block feed editor dialog for tags, labels and such --- diff --git a/tt-rss.js b/tt-rss.js index 533dd4f1..66f6bff3 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);