mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
"fix tiny mail window, because felamimail uses egw_getWindowOuterHeight() instead of a fixed height given as number"
This commit is contained in:
parent
91cfd18e16
commit
5a47d445e8
@ -403,7 +403,7 @@ abstract class egw_framework
|
||||
if (($popup = egw_link::is_popup($app,'add')))
|
||||
{
|
||||
list($w,$h) = explode('x',$popup);
|
||||
$action = "window.open('$link','_blank','width=$w,height=$h,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes');";
|
||||
$action = "window.open('$link','_blank','width='+$w+',height='+$h+',location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes');";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -679,14 +679,14 @@ abstract class egw_framework
|
||||
if ($GLOBALS['egw_info']['flags']['include_xajax'])
|
||||
{
|
||||
require_once(EGW_API_INC.'/xajax/xajax_core/xajax.inc.php');
|
||||
|
||||
|
||||
$xajax = new xajax();
|
||||
$xajax->configure('requestURI', egw::link('/xajax.php'));
|
||||
$xajax->configure('javascript URI',$GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/inc/xajax');
|
||||
$xajax->configure('waitCursor',false);
|
||||
$xajax->register(XAJAX_FUNCTION,'doXMLHTTP');
|
||||
$xajax->register(XAJAX_FUNCTION,'doXMLHTTP',array('mode' => "'synchronous'",'alias' => 'doXMLHTTPsync'));
|
||||
|
||||
|
||||
$java_script .= $xajax->getJavascript();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user