Skip to content
Snippets Groups Projects
Commit baae741e authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

don't nuke focus on dialog open, fixes #1816

Closes #1816

Merge request studip/studip!1193
parent 917816c0
No related branches found
No related tags found
No related merge requests found
...@@ -403,9 +403,7 @@ STUDIP.ready(function () { ...@@ -403,9 +403,7 @@ STUDIP.ready(function () {
// and we trigger that namespaced event here, still all change handlers // and we trigger that namespaced event here, still all change handlers
// will execute (which is bad due to $(select).change(form.submit())). // will execute (which is bad due to $(select).change(form.submit())).
$('select:not([multiple])').each(function() { $('select:not([multiple])').each(function() {
$(this) $(this).toggleClass('has-no-value', this.value === '');
.toggleClass('has-no-value', this.value === '')
.blur();
}); });
}); });
......
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