From 94d78f8857ef44a66a281bea14be75c1db784a4a Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 29 Oct 2025 09:54:51 +0100 Subject: [PATCH] z-index issue and remove dead code --- html/css/style-classic7.css | 2 +- html/js/noalyss_script.js | 45 ++----------------------------------- 2 files changed, 3 insertions(+), 44 deletions(-) diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index a6d409afb..aeb0271b2 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -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; diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js index e3bac1486..bc01d7b7f 100644 --- a/html/js/noalyss_script.js +++ b/html/js/noalyss_script.js @@ -830,11 +830,11 @@ function waiting_box() { var obj = { id: 'wait_box', html: loading() + '

' + content[65] + '

' }; - 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();