1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-25 15:58:56 +01:00

Fix validazione attributo required

This commit is contained in:
Pek5892 2023-07-26 16:14:27 +02:00
parent 72790d5fe5
commit 8393a80613

View File

@ -56,7 +56,11 @@ function init() {
CKEDITOR.instances[instance].on("change", function (e) {
for (instance in CKEDITOR.instances) {
CKEDITOR.instances[instance].updateElement();
$('form').parsley().validate();
$('form').each(function () {
if ($(this).attr('novalidate') == undefined) {
$(this).parsley().validate();
}
});
}
});
});