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

@@ -422,14 +422,14 @@ EOF
{
$('input[name=step]').val(3);
$('#wizForm').removeAttr('onsubmit'); // No need to perform validation checks when going back
$('#wizForm').submit();
$('#wizForm').trigger('submit');
}
function CSVGoBack()
{
$('input[name=step]').val(2);
$('#wizForm').removeAttr('onsubmit'); // No need to perform validation checks when going back
$('#wizForm').submit();
$('#wizForm').trigger('submit');
}
@@ -437,7 +437,7 @@ EOF
{
$('input[name=step]').val(1);
$('#wizForm').removeAttr('onsubmit'); // No need to perform validation checks when going back
$('#wizForm').submit();
$('#wizForm').trigger('submit');
}
@@ -873,7 +873,7 @@ EOF
function GoBack()
{
$('input[name=step]').val(1);
$('#wizForm').submit();
$('#wizForm').trigger('submit');
}
var ajax_request = null;
@@ -1089,7 +1089,7 @@ EOF
);
$oPage->add_ready_script(
<<<EOF
$('#select_template_class').change( function() {
$('#select_template_class').on('change', function() {
DisplayTemplate(this.value);
});
EOF