mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°3657 - Replace calls to deprecate jQuery methods (".submit(callback)" to ".on('submit', callback)")
This commit is contained in:
@@ -38,7 +38,7 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates, oWizH
|
||||
oInput.bind('update_value', function () {
|
||||
$(this).val(me.GetUpdatedValue());
|
||||
});
|
||||
oInput.closest('form').submit(function () {
|
||||
oInput.closest('form').on('submit', function () {
|
||||
return me.OnFormSubmit();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user