mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:45:57 +00:00
editFeedDlg: fix hotkey disabling bug
This commit is contained in:
@@ -209,7 +209,10 @@ function hotkey_handler(e) {
|
||||
|
||||
}
|
||||
|
||||
if (!hotkeys_enabled) return;
|
||||
if (!hotkeys_enabled) {
|
||||
debug("hotkeys disabled");
|
||||
return;
|
||||
}
|
||||
|
||||
if (window.event) {
|
||||
keycode = window.event.keyCode;
|
||||
|
||||
@@ -634,8 +634,6 @@ function catchupCurrentFeed() {
|
||||
function editFeedDlg(feed) {
|
||||
try {
|
||||
|
||||
disableHotkeys();
|
||||
|
||||
if (!feed) {
|
||||
alert(__("Please select some feed first."));
|
||||
return;
|
||||
@@ -653,7 +651,9 @@ function editFeedDlg(feed) {
|
||||
} else {
|
||||
query = "backend.php?op=pref-labels&subop=edit&id=" + param_escape(-feed-11);
|
||||
}
|
||||
|
||||
|
||||
disableHotkeys();
|
||||
|
||||
new Ajax.Request(query, {
|
||||
onComplete: function(transport) {
|
||||
infobox_callback2(transport);
|
||||
|
||||
Reference in New Issue
Block a user