Merge branch 'ent-13395-solapas-de-about-se-ven-raras' into 'develop'

Ent 13395 solapas de about se ven raras

See merge request artica/pandorafms!7198
This commit is contained in:
Jose Martin 2024-04-15 09:29:03 +00:00
commit f8833e8f98
1 changed files with 12 additions and 4 deletions

View File

@ -2407,7 +2407,9 @@ $(document).ready(function() {
closeOnEscape: true, closeOnEscape: true,
width: 700, width: 700,
height: 450, height: 450,
close: function() {
closeAboutModal();
},
create: function() { create: function() {
$("#about-tabs").tabs({}); $("#about-tabs").tabs({});
$(".ui-dialog-titlebar").remove(); $(".ui-dialog-titlebar").remove();
@ -2415,7 +2417,6 @@ $(document).ready(function() {
$("#about-close").click(function() { $("#about-close").click(function() {
$("#about-tabs").dialog("close"); $("#about-tabs").dialog("close");
$("div.ui-dialog").remove(); $("div.ui-dialog").remove();
$("#icon_about").removeClass("selected");
}); });
} }
}); });
@ -2436,7 +2437,9 @@ $(document).ready(function() {
closeOnEscape: true, closeOnEscape: true,
width: 700, width: 700,
height: 450, height: 450,
close: function() {
closeAboutModal();
},
create: function() { create: function() {
$("#about-tabs").tabs({}); $("#about-tabs").tabs({});
$(".ui-dialog-titlebar").remove(); $(".ui-dialog-titlebar").remove();
@ -2444,7 +2447,6 @@ $(document).ready(function() {
$("#about-close").click(function() { $("#about-close").click(function() {
$("#about-tabs").dialog("close"); $("#about-tabs").dialog("close");
$("div.ui-dialog").remove(); $("div.ui-dialog").remove();
$("#icon_about_operation").removeClass("selected");
}); });
} }
}); });
@ -2746,3 +2748,9 @@ function resizeSearchHeader() {
); );
} }
} }
function closeAboutModal() {
$("#icon_about_operation").removeClass("selected");
$("#icon_about").removeClass("selected");
$("#icon_about_div").removeClass("selected");
}