Skip to content
Snippets Groups Projects
Commit 7648970b 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 d00dfa6c
No related branches found
No related tags found
No related merge requests found
......@@ -291,9 +291,7 @@ STUDIP.ready(function () {
// and we trigger that namespaced event here, still all change handlers
// will execute (which is bad due to $(select).change(form.submit())).
$('select:not([multiple])').each(function() {
$(this)
.toggleClass('has-no-value', this.value === '')
.blur();
$(this).toggleClass('has-no-value', this.value === '');
});
});
......
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