Merge branch 'ent-13119-do-not-show-anymore-del-wizard-de-bienvenida-no-aplica-si-lo-cerramos-con-el-aspa-x' into 'develop'

Ent 13119 do not show anymore del wizard de bienvenida no aplica si lo cerramos con el aspa x

See merge request artica/pandorafms!7085
This commit is contained in:
Rafael Ameijeiras 2024-03-26 11:27:13 +00:00
commit 2f73d241e9
4 changed files with 11 additions and 1 deletions

View File

@ -1058,8 +1058,10 @@ echo sprintf('<div id="header_table" class="header_table_%s">', $menuTypeClass);
})
}
},
closeOnEscape: true,
onload: () => {
$(document).ready(function () {
$(".ui-dialog-titlebar-close").hide();
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
$(buttonpane).append(`
<div class="welcome-wizard-buttons">

View File

@ -804,8 +804,10 @@ $("#conf_wizard").click(function() {
})
}
},
closeOnEscape: true,
onload: () => {
$(document).ready(function () {
$(".ui-dialog-titlebar-close").hide();
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
$(buttonpane).append(`
<div class="welcome-wizard-buttons">

View File

@ -182,8 +182,10 @@ class WelcomeWindow extends Wizard
})
}
},
closeOnEscape: true,
onload: () => {
$(document).ready(function () {
$(".ui-dialog-titlebar-close").hide();
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
$(buttonpane).append(`
<div class="welcome-wizard-buttons">

View File

@ -449,6 +449,10 @@ function load_modal(settings) {
}
};
if (settings.closeOnEscape == undefined) {
settings.closeOnEscape = true;
}
required_buttons.push({
class:
"ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok submit-next",
@ -518,7 +522,7 @@ function load_modal(settings) {
collision: "fit"
},
buttons: required_buttons,
closeOnEscape: true,
closeOnEscape: settings.closeOnEscape,
open: function() {
//$(".ui-dialog-titlebar-close").hide();
},