N°3817 - Audit and fix calls to deprecated jQuery method

This commit is contained in:
Anne-Cath
2025-08-06 19:47:57 +02:00
parent 1667f834b9
commit 5b9e0a1d4f
66 changed files with 188 additions and 211 deletions

View File

@@ -86,13 +86,13 @@ $(function()
me._on_tabs_activate(ui);
});
}
$(window).bind('resized', function () {
$(window).on('resized', function () {
var that = me;
window.setTimeout(function () {
that._on_resize();
}, 50);
});
$('#dh_flash').bind('toggle_complete', function () {
$('#dh_flash').on('toggle_complete', function () {
var that = me;
window.setTimeout(function () {
that._on_resize();
@@ -655,7 +655,7 @@ $(function()
close: function() { $(this).remove(); },
buttons: [
{text: this.options.labels['cancel'], click: function() { $(this).dialog('close');} },
{text: this.options.labels['export'], click: function() { $('#graph_'+me.element.attr('id')+'_export_dlg').submit(); $(this).dialog('close');} },
{text: this.options.labels['export'], click: function() { $('#graph_'+me.element.attr('id')+'_export_dlg').trigger('submit'); $(this).dialog('close');} },
]
});
},