mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-26 08:17:48 +01:00
Fix validazione attributo required
This commit is contained in:
parent
72790d5fe5
commit
8393a80613
@ -56,7 +56,11 @@ function init() {
|
|||||||
CKEDITOR.instances[instance].on("change", function (e) {
|
CKEDITOR.instances[instance].on("change", function (e) {
|
||||||
for (instance in CKEDITOR.instances) {
|
for (instance in CKEDITOR.instances) {
|
||||||
CKEDITOR.instances[instance].updateElement();
|
CKEDITOR.instances[instance].updateElement();
|
||||||
$('form').parsley().validate();
|
$('form').each(function () {
|
||||||
|
if ($(this).attr('novalidate') == undefined) {
|
||||||
|
$(this).parsley().validate();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user