fixed form validation

This commit is contained in:
Frank Schubert
2021-08-09 16:18:51 +02:00
parent 253fd42939
commit 93c4d036d1

View File

@@ -863,12 +863,9 @@
});
}
if($('#owner_id').hasClass("invalid")) {
$('#owner_id').next().find('.select2-selection').addClass('invalid');
}
if(error) {
$("#form-error").show();
return false;
}
console.log("empty: " + checkEmpty);