Some dialog must be fixed but draggable

This commit is contained in:
Dany De Bontridder 2018-03-05 23:35:56 +01:00
parent c8709f2d5c
commit 004f627e6e
3 changed files with 7 additions and 3 deletions

View file

@ -2751,7 +2751,8 @@ function calendar_zoom(obj)
obj.outdiv = 'calendar_zoom_div';
}
if ($(obj.outdiv) == undefined) {
var str_style = fixed_position(0, 220);
var str_style = 'top:10%;margin-left:2%;';
// var str_style = fixed_position(0, 120);
add_div({id: obj.outdiv, style: 'margin-left:3%;width:94%;' + str_style, cssclass: "inner_box", drag: 0});
}
remove_waiting_box();

View file

@ -27,7 +27,10 @@ require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput();
ob_start();
if ( $notitle== 0 ) echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div");
if ($notitle==0)
{
echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div", "close", "", "y");
}
$cal=new Calendar();
$in=$http->get('in',"string","");
$notitle=$http->get('notitle',"string","0");

View file

@ -78,7 +78,7 @@ $dest->style=' style="vertical-align:0%"';
$hour=new IText('hour_event');
$hour->size=5;
echo HtmlInput::title_box(_('Nouvel événement'), 'action_add_div');
echo HtmlInput::title_box(_('Nouvel événement'), 'action_add_div',"close","","y");
?>
<span class="notice" style="float:right" id="action_add_frm_info"></span>
<form method="get" style="margin-left:5%;margin-right: 10%" id="action_add_frm" onsubmit="action_save_short(<?php echo Dossier::id()?>);return false">