1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:55:55 +00:00

help uses popup window, recolor infoBox, use subscribe dialog in prefs

This commit is contained in:
Andrew Dolgov
2007-05-14 06:41:04 +01:00
parent 144f32d941
commit 442d77f1cc
8 changed files with 119 additions and 34 deletions

View File

@@ -476,8 +476,13 @@ function quickMenuGo(opid) {
if (opid == "qmcRemoveFeed") {
var actid = getActiveFeedId();
if (!actid || activeFeedIsCat()) {
if (activeFeedIsCat()) {
alert("You can't unsubscribe from the category.");
return;
}
if (!actid) {
alert("Please select some feed first.");
return;
}
@@ -640,7 +645,7 @@ function editFeedDlg(feed) {
return;
}
if (feed <= 0 || active_feed_is_cat || tagsAreDisplayed()) {
if (feed <= 0 || activeFeedIsCat() || tagsAreDisplayed()) {
alert("You can't edit this kind of feed.");
return;
}