Skip to content
Snippets Groups Projects
Commit ba0e7c77 authored by Moritz Strohm's avatar Moritz Strohm Committed by Elmar Ludwig
Browse files

fix for BIESt 609, closes #609

Closes #609

Merge request studip/studip!833
parent bdf2f4da
Branches
No related tags found
No related merge requests found
...@@ -64,6 +64,11 @@ jQuery(document).on('click', '.messagebox .messagebox_buttons a', function () { ...@@ -64,6 +64,11 @@ jQuery(document).on('click', '.messagebox .messagebox_buttons a', function () {
return false; return false;
}); });
STUDIP.ready(function() {
//Set the focus on the modal overlay dialog, if any:
$('.modaloverlay').find(':focusable').first().focus();
});
/* ------------------------------------------------------------------------ /* ------------------------------------------------------------------------
* application wide setup * application wide setup
......
...@@ -17,6 +17,9 @@ const Dialogs = { ...@@ -17,6 +17,9 @@ const Dialogs = {
}) })
); );
//Set the focus inside the confirm dialog:
$(confirmDialog).find(':focusable').first().focus();
return false; return false;
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment