Update card.php

This commit is contained in:
Laurent Destailleur 2021-10-20 11:30:38 +02:00 committed by GitHub
parent f59f605bcc
commit ae1da43225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1151,7 +1151,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
$("#typent_id").change();
$("#effectif_id").val(id_ef15);
$("#effectif_id").change();
/* Force recompute width of a select2 field when it was hidden and then shown */
/* 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"});
}