mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°3657 - Replace calls to deprecate jQuery methods (".submit(callback)" to ".on('submit', callback)")
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user