N°7552 - Fix regression from previous merge (f63abd9b)

Can't submit HTML field in the backoffice
This commit is contained in:
Molkobain
2024-06-20 09:08:32 +02:00
parent 7028fd21bc
commit d145cb508a
2 changed files with 15 additions and 5 deletions

View File

@@ -314,6 +314,14 @@ function BlockField(field_id, bBlocked) {
}
}
function BlockFieldElement(element, bBlocked) {
if (bBlocked) {
element.block({message: '', enableValidation : true, baseZ: 9999, overlayCSS: { backgroundColor: '#ccd6e066'}});
} else {
element.unblock();
}
}
/**
* Updates (enables/disables) a "duration" field
*/