mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3817 - Audit and fix calls to deprecated jQuery method
This commit is contained in:
@@ -363,7 +363,7 @@ $('#$sDialogId').dialog({
|
||||
buttons: [
|
||||
{ text: "$sOkButtonLabel", click: function() {
|
||||
var oForm = $(this).closest('.ui-dialog').find('form');
|
||||
oForm.submit();
|
||||
oForm.trigger('submit');
|
||||
if (AnimateDlgButtons)
|
||||
{
|
||||
sFormId = oForm.attr('id');
|
||||
|
||||
Reference in New Issue
Block a user