diff options
author | Andrew Dolgov <[email protected]> | 2007-05-14 06:41:04 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-14 06:41:04 +0100 |
commit | 442d77f1ccd670c0fde1db0038d3388e64f885e6 (patch) | |
tree | da60127dad7caff8b6a2f8791e30ce060d5ff875 /tt-rss.js | |
parent | 144f32d94100151ed1c0d4e22422a04d8e6068bc (diff) |
help uses popup window, recolor infoBox, use subscribe dialog in prefs
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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; } |