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 15:00:06 +00:00
parent e0ff51964f
commit 91e488c399

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