COSMETIC: z-index computed properly for managetable and search_account

This commit is contained in:
sparkyx 2025-11-22 08:41:13 +01:00
parent 3716395a8e
commit 544beb2cda
2 changed files with 3 additions and 2 deletions

View file

@ -45,7 +45,7 @@ function search_accounting(obj)
sx=document.body.scrollTop+60;
}
var div_style="top:"+sx+"px";
var div_style="top:"+sx+"px"+';z-index:'+get_next_layer();
removeDiv('search_account');
add_div({id:'search_account',cssclass:'inner_box',html:loading(),style:div_style,drag:false});
@ -234,7 +234,7 @@ function errorPoste()
function display_all_card(p_dossier,p_accounting)
{
waiting_box();
var div_dest=add_div({id:'info_card_accounting',cssclass:"inner_box",style:fixed_position(100,250)+";width:auto"});
var div_dest=add_div({id:'info_card_accounting',cssclass:"inner_box",style:fixed_position(100,250)+";width:auto;z-index:"+get_next_layer()});
var action=new Ajax.Request ( 'ajax_misc.php',
{
method:'get',

View file

@ -381,6 +381,7 @@ var ManageTable = function (p_table_name)
var pos = calcy(50);
here.mt_style["top"]=pos+"px";
here.mt_style["z-index"]=get_next_layer();
$(obj.id).setStyle(here.mt_style);
remove_waiting_box();
$(obj.id).update(x['html']);