Merge pull request #19030 from atm-florianm/FIX_14.0_civility_field_with_in_private_thirdparty_creation_form
FIX 14.0 - civility field of private third party creation form has inadequate width
This commit is contained in:
commit
136807645d
@ -1151,6 +1151,10 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||||||
$("#typent_id").change();
|
$("#typent_id").change();
|
||||||
$("#effectif_id").val(id_ef15);
|
$("#effectif_id").val(id_ef15);
|
||||||
$("#effectif_id").change();
|
$("#effectif_id").change();
|
||||||
|
/* Force to recompute the width of a select2 field when it was hidden and then shown programatically */
|
||||||
|
if ($("#civility_id").data("select2")) {
|
||||||
|
$("#civility_id").select2({width: "resolve"});
|
||||||
|
}
|
||||||
$("#TypeName").html(document.formsoc.LastName.value);
|
$("#TypeName").html(document.formsoc.LastName.value);
|
||||||
document.formsoc.private.value=1;
|
document.formsoc.private.value=1;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user