mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 18:31:29 +00:00
since infoBox may be dismissed with Escape, do not disable control buttons in prefs dialogs
This commit is contained in:
8
prefs.js
8
prefs.js
@@ -421,7 +421,7 @@ function editLabel(id) {
|
|||||||
|
|
||||||
notify_progress("Loading, please wait...");
|
notify_progress("Loading, please wait...");
|
||||||
|
|
||||||
document.getElementById("label_create_btn").disabled = true;
|
// document.getElementById("label_create_btn").disabled = true;
|
||||||
|
|
||||||
active_label = id;
|
active_label = id;
|
||||||
|
|
||||||
@@ -467,7 +467,7 @@ function editFilter(id) {
|
|||||||
|
|
||||||
notify_progress("Loading, please wait...");
|
notify_progress("Loading, please wait...");
|
||||||
|
|
||||||
document.getElementById("create_filter_btn").disabled = true;
|
// document.getElementById("create_filter_btn").disabled = true;
|
||||||
|
|
||||||
selectTableRowsByIdPrefix('prefFilterList', 'FILRR-', 'FICHK-', false);
|
selectTableRowsByIdPrefix('prefFilterList', 'FILRR-', 'FICHK-', false);
|
||||||
selectTableRowById('FILRR-'+id, 'FICHK-'+id, true);
|
selectTableRowById('FILRR-'+id, 'FICHK-'+id, true);
|
||||||
@@ -490,13 +490,13 @@ function editFeed(feed) {
|
|||||||
|
|
||||||
notify_progress("Loading, please wait...");
|
notify_progress("Loading, please wait...");
|
||||||
|
|
||||||
document.getElementById("subscribe_to_feed_btn").disabled = true;
|
/* document.getElementById("subscribe_to_feed_btn").disabled = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
document.getElementById("top25_feeds_btn").disabled = true;
|
document.getElementById("top25_feeds_btn").disabled = true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// this button is not always available, no-op if not found
|
// this button is not always available, no-op if not found
|
||||||
}
|
} */
|
||||||
|
|
||||||
// clean selection from all rows & select row being edited
|
// clean selection from all rows & select row being edited
|
||||||
selectTableRowsByIdPrefix('prefFeedList', 'FEEDR-', 'FRCHK-', false);
|
selectTableRowsByIdPrefix('prefFeedList', 'FEEDR-', 'FRCHK-', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user