This commit is contained in:
sparkyx 2024-08-28 21:08:49 +02:00
parent 2a4374adc2
commit 1308c2351d
4 changed files with 8 additions and 4 deletions

View file

@ -2117,7 +2117,7 @@ function view_action(ag_id, dossier, modify) {
}
var code_html = getNodeText(html[0]);
code_html = unescape_xml(code_html);
var pos = fixed_position(0, 50) + ";width:90%;left:5%;";
var pos = fixed_position(0, 50) + ";width:90%;left:5%;z-index:"+layer;
add_div({
id: id,
cssclass: "inner_box",
@ -4630,6 +4630,9 @@ Widget.prototype.toggle_full_size=function (widget_domid) {
$(widget_domid).removeClassName('widget-full_size');
} else {
$(widget_domid).addClassName('widget-full_size');
layer++;
$(widget_domid).style.zIndex=layer;
}
}

View file

@ -187,7 +187,7 @@ function zoom_todo ()
{
var clonetodo=$('todo_list').clone();
clonetodo.setAttribute('id','clone_todo_list')
clonetodo.setStyle({'z-index':1,'position':'absolute','width':'95%','height':'95%','top':'2%','right':'2%','left':'2%'})
clonetodo.setStyle({'z-index':1,'position':'fixed','width':'95%','height':'95%','top':'2%','right':'2%','left':'2%'})
clonetodo.innerHTML=$('todo_list').innerHTML;
$('todo_list').innerHTML="";
clonetodo.addClassName('inner_box');