mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: Focus expand/collapse link in batch_error dialog
Dialog loses focus when the links are clicked making the dialog uncontrollable by keyboard. This patch focuses the link again after expanding/collapsing the error list. Thus keeping the focus in a dialog https://fedorahosted.org/freeipa/ticket/4097 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
f7955abdda
commit
61770269d4
@@ -1730,6 +1730,7 @@ IPA.error_dialog = function(spec) {
|
||||
errors_container.show();
|
||||
show_details.hide();
|
||||
hide_details.show();
|
||||
hide_details.focus();
|
||||
return false;
|
||||
});
|
||||
|
||||
@@ -1737,6 +1738,7 @@ IPA.error_dialog = function(spec) {
|
||||
errors_container.hide();
|
||||
hide_details.hide();
|
||||
show_details.show();
|
||||
show_details.focus();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user