N°3678 - Portal : a modification of field cannot hide another one

This commit is contained in:
acognet
2021-06-24 14:11:41 +02:00
parent 949b213f9d
commit a23ea9a01f

View File

@@ -155,7 +155,7 @@ $(function()
if(oData.form.hidden_fields !== undefined)
{
$.each(oData.form.hidden_fields, function( index, value ) {
me.element.find('[data-form-path="' + sFormPath + '"][data-field-id="'+value+'"][data-attribute-flag-hidden="false"]').remove();
me.element.find('[data-form-path="' + sFormPath + '"][data-field-id="'+value+'"][data-attribute-flag-hidden="false"]').children().remove();
});
}
if(oData.form.updated_fields !== undefined)