Skip to content
Snippets Groups Projects
Commit a3944b70 authored by Moritz Strohm's avatar Moritz Strohm Committed by Jan-Hendrik Willms
Browse files

fix for BIESt 609, closes #609

Closes #609

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