Dialog box : z-index not set properly

This commit is contained in:
sparkyx 2025-11-23 11:56:59 +01:00
parent a5d7ef6824
commit 4a164de70b
2 changed files with 3 additions and 3 deletions

View file

@ -806,7 +806,7 @@ function view_history_account(p_value, dossier, p_exercice) {
add_div(popup);
success_box(req, xml);
id$(idbox).style.top = calcy(140 + (layer * 3)) + "px";
$id$(idbox).setStyle({top:calcy(140 + (layer * 3)) + "px"
id$(idbox).setStyle({top:calcy(140 + (layer * 3)) + "px"
,"z-index":layer})
}
}
@ -850,7 +850,7 @@ function view_history_anc_account(p_value, dossier, p_exercice) {
id$(idbox).setStyle(
{
top:calcy(140 + (layer * 3)) + "px"
,"z-index":get_next_layer()
,"z-index":layer
}
)
}

View file

@ -46,7 +46,7 @@ function boxsearch_card(p_dossier)
return;
}
var y=calcy(15);
var div_style="position:absolute;"+";top:"+y+"px";
var div_style="position:absolute;"+";top:"+y+"px;z-index:"+get_next_layer();
add_div({id:'boxsearch_card_div',cssclass:'inner_box',html:loading(),style:div_style,drag:true});
id$('boxsearch_card_div').innerHTML=req.responseText;
sorttable.makeSortable(id$('tb_fiche'));