N°3657 - Replace calls to deprecate jQuery methods (".submit(callback)" to ".on('submit', callback)")

This commit is contained in:
Molkobain
2021-03-15 09:28:44 +01:00
parent 614ba55819
commit e143fa5e33
5 changed files with 5 additions and 5 deletions

View File

@@ -654,7 +654,7 @@ $(function()
var me = this;
if (sOperation == 'attachment')
{
$('#GraphExportDlg'+this.element.attr('id')+' form').submit(function() { return me._on_export_as_attachment(); });
$('#GraphExportDlg'+this.element.attr('id')+' form').on('submit', function() { return me._on_export_as_attachment(); });
}
$('#GraphExportDlg'+this.element.attr('id')).dialog({
width: 'auto',