mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
fixing quick add to work with jDots
This commit is contained in:
parent
d53e5291ce
commit
8f86299005
@ -449,11 +449,11 @@ abstract class egw_framework
|
|||||||
if (($popup = egw_link::is_popup($app,'add')))
|
if (($popup = egw_link::is_popup($app,'add')))
|
||||||
{
|
{
|
||||||
list($w,$h) = explode('x',$popup);
|
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 = "egw_openWindowCentered2('$link','_blank',$w,$h,'yes','$app');";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$action = "location.href = '$link';";
|
$action = "egw_link_handler('$link','$app');";
|
||||||
}
|
}
|
||||||
$options[$action] = $label;
|
$options[$action] = $label;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user