mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3657 - Replace calls to deprecate jQuery methods (".submit(callback)" to ".on('submit', callback)")
This commit is contained in:
@@ -231,7 +231,7 @@ $('form').each(function () {
|
||||
});
|
||||
$('#btn_back').click(function() { $('#wiz_form').data('back', true); });
|
||||
|
||||
$('#wiz_form').submit(function() {
|
||||
$('#wiz_form').on('submit', function() {
|
||||
if ($(this).data('back'))
|
||||
{
|
||||
return CanMoveBackward();
|
||||
|
||||
Reference in New Issue
Block a user