mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
mark popups as such by enclosing there content in div#popupMainDiv and properly closing html markup for popups
This commit is contained in:
parent
4dbb522887
commit
7e856af544
@ -208,7 +208,17 @@ class etemplate_new extends etemplate_widget_template
|
||||
{
|
||||
parse_navbar();
|
||||
}
|
||||
else // mark popups as such, by enclosing everything in div#popupMainDiv
|
||||
{
|
||||
echo '<div id="popupMainDiv">'."\n";
|
||||
}
|
||||
echo '<div id="'.$dom_id.'" class="et2_container"></div>';
|
||||
|
||||
if ($output_mode == 2)
|
||||
{
|
||||
echo "\n</div>\n";
|
||||
echo $GLOBALS['egw']->framework->footer();
|
||||
}
|
||||
}
|
||||
ob_flush();
|
||||
|
||||
|
@ -758,7 +758,8 @@ egw.set_user('.$GLOBALS['egw']->accounts->json($GLOBALS['egw_info']['user']['acc
|
||||
$content .= $this->tpl->fp('out','footer');
|
||||
}
|
||||
elseif (!isset($GLOBALS['egw_info']['flags']['noheader']) || !$GLOBALS['egw_info']['flags']['noheader'] ||
|
||||
!empty($_GET['nonavbar']) || $GLOBALS['egw_info']['flags']['currentapp'] == 'admin' && empty($_GET['ajax']))
|
||||
self::$header_done || !empty($_GET['nonavbar']) ||
|
||||
$GLOBALS['egw_info']['flags']['currentapp'] == 'admin' && empty($_GET['ajax']))
|
||||
{
|
||||
$content .= "</body>\n</html>\n"; // close body and html tag, eg. for popups
|
||||
}
|
||||
|
@ -53,7 +53,7 @@
|
||||
$j('#divStatusBar').height()-$j('#divAppboxHeader').height()-$j('#divPoweredBy').height()-20;
|
||||
//console.log('setting height of '+appbox_height);
|
||||
$j('#divAppbox').css('min-height', appbox_height+'px');
|
||||
$j('.et2_container').height(appbox_height);
|
||||
$j('.et2_container').height(appbox_height-7);
|
||||
});
|
||||
$j(window).resize();
|
||||
$j(window).load(function(){ // fixes sometimes not called resize, probably due to timing issues
|
||||
|
Loading…
x
Reference in New Issue
Block a user