mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 23:48:28 +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;
|
$link = $GLOBALS['egw_info']['server']['webserver_url'].'/redirect.php?go='.$link;
|
||||||
if ($link[0] == '/') $link = ($_SERVER['HTTPS'] ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].$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;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user