N°7355 - Fix deprecated usage of .bind() due to jQuery migrate upgrade

This commit is contained in:
Molkobain
2024-03-26 10:59:48 +01:00
parent 36d6c13941
commit bcfbacc625

View File

@@ -51,7 +51,7 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates, oWizH
me.RegisterChange();
let oInput = $('#'+this.iInputId);
oInput.bind('update_value', function () {
oInput.on('update_value', function () {
$(this).val(me.GetUpdatedValue());
});
oInput.closest('form').on('submit', function () {