Skip to content
Snippets Groups Projects
Commit 22f868f7 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

fixup! GH-957: open the modals if they contain errors and dont show a message

parent 88333824
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
$('.modal').each((idx, element) => {
var modal = $(element);
var error = modal.has('.errorlist');
if ( error.length ) {
if (error.length) {
const modalID = modal.attr('id');
const buttonTrigger = $(`[data-src="#${modalID}"]`);
buttonTrigger[0].click();
......
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