z-index issue and remove dead code

This commit is contained in:
sparkyx 2025-10-29 09:54:51 +01:00
parent 53849eccdd
commit 94d78f8857
2 changed files with 3 additions and 44 deletions

View file

@ -1727,7 +1727,7 @@ div.myfieldset
display:none;
background-color: #FCFFCC;
color:#000000;
z-index: 15;
z-index: 900;
top:0px;
left:45%;
position:fixed;

View file

@ -830,11 +830,11 @@ function waiting_box() {
var obj = {
id: 'wait_box', html: loading() + '<p>' + content[65] + '</p>'
};
var y = fixed_position(10, 250)
obj.style = y + ";width:281px;margin-left:40%;";
if (document.getElementById('wait_box')) {
removeDiv('wait_box');
}
var y = fixed_position(10, 250)
obj.style = y + ";width:281px;margin-left:40%;z-index:"+get_next_layer();
waiting_node();
add_div(obj);
@ -4990,47 +4990,6 @@ Noalyss.prototype.parameter_test_smtp = function ()
console.error("parameter_test_smtp" + e.message);
}
}
/**
* Display a dialog box to search the PEPPOL ID of someone
*/
Noalyss.prototype.display_search_peppol=function (p_domid)
{
try
{
var dgbox = "peppol_id_search_div";
waiting_box();
removeDiv(dgbox);
var queryString = {
}
var action = new Ajax.Request(
"ajax_misc.php",
{
method: 'GET',
parameters: queryString,
onFailure: ajax_misc_failure,
onSuccess: function (req) {
remove_waiting_box();
if (req.responseText == 'NOCONX') {
reconnect();
return;
}
var y = calcy(15);
var div_style = "position:absolute;" + ";top:" + y + "px"+"z-index:"+get_next_layer();
add_div({id: dgbox, cssclass: 'inner_box', html: loading(), style: div_style, drag: true});
$(dgbox).innerHTML = req.responseText;
}
}
);
} catch (e)
{
alert_box(e.message);
}
}
noalyss=new Noalyss();