mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 07:01:28 +00:00
misc feed edit dialog fixes
This commit is contained in:
14
tt-rss.js
14
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user