mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7355 - Fix deprecated usage of .bind() due to jQuery migrate upgrade
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user