Fix regression

This commit is contained in:
ldestailleur
2025-07-24 15:39:37 +02:00
parent 03165e5cae
commit d8eebcafda
3 changed files with 16 additions and 12 deletions

View File

@@ -6198,8 +6198,7 @@ class Form
$formconfirm .= "/* Code for the jQuery('#dialogforpopup').dialog() */\n";
$formconfirm .= 'jQuery(document).ready(function() {
$(function() {
$( "#' . $dialogconfirm . '" ).dialog(
{
$( "#' . $dialogconfirm . '" ).dialog({
autoOpen: ' . ($autoOpen ? "true" : "false") . ',';
if ($newselectedchoice == 'no') {
$formconfirm .= '