mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
allow to specify "none" in popup size for no popup AND no link target, to allow dial scripts to use status "204 No Content"
This commit is contained in:
parent
486e99ec0c
commit
b64a0de528
@ -183,7 +183,8 @@ class url_widget
|
||||
$link = $GLOBALS['egw_info']['server']['webserver_url'].'/redirect.php?go='.$link;
|
||||
if ($link[0] == '/') $link = ($_SERVER['HTTPS'] ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].$link;
|
||||
}
|
||||
$cell['size'] = ','.$link.',,,calling,'.$GLOBALS['egw_info']['server']['call_popup'];
|
||||
$cell['size'] = ','.$link.($GLOBALS['egw_info']['server']['call_popup']=='none' ? '' : // 'none' = no target
|
||||
',,,calling,'.$GLOBALS['egw_info']['server']['call_popup']);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user