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:
Ralf Becker 2011-05-30 14:59:40 +00:00
parent 486e99ec0c
commit b64a0de528

View File

@ -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;
}