summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-20 15:36:42 +0300
committerAndrew Dolgov <[email protected]>2010-11-20 15:36:42 +0300
commit33f31dfdfc2ca303c55c1f8b6ef7d002053228a1 (patch)
tree382a447d7c0c993becc4185ef1e5633c98b6dcda /tt-rss.js
parente2eda97930a509673e2055c91308991dfd017ea4 (diff)
misc feed edit dialog fixes
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 1559530b8..4ab357363 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -376,7 +376,11 @@ function quickMenuGo(opid) {
}
if (opid == "qmcEditFeed") {
- editFeed(getActiveFeedId());
+ if (activeFeedIsCat())
+ alert(__("You can't edit this kind of feed."));
+ else
+ editFeed(getActiveFeedId());
+ return;
}
if (opid == "qmcRemoveFeed") {
@@ -843,7 +847,13 @@ function hotkey_handler(e) {
}
if (keycode == 69) { // e
- editFeed(getActiveFeedId());
+
+ if (activeFeedIsCat())
+ alert(__("You can't edit this kind of feed."));
+ else
+ editFeed(getActiveFeedId());
+ return;
+
return false;
}