mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
workaround for IE prob, it does not set a HTTP_REFERER if a link gets opened in a popup window, which is needed by manual to determine context-sensitive which page to show
This commit is contained in:
parent
d9eb3ad604
commit
0d5a7357ec
@ -1122,7 +1122,7 @@
|
|||||||
// create popup target
|
// create popup target
|
||||||
if ($data['status'] == 4)
|
if ($data['status'] == 4)
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw_info']['navbar'][$app]['target'] = ' target="'.$app.'" onClick="'."if (this != '') { window.open(this,this.target,'width=800,height=600,scrollbars=yes,resizable=yes'); return false; } else { return true; }".'"';
|
$GLOBALS['phpgw_info']['navbar'][$app]['target'] = ' target="'.$app.'" onClick="'."if (this != '') { window.open(this+'".(strstr($GLOBALS['phpgw_info']['navbar'][$app]['url'],'?')?'&':'?')."referer='+encodeURI(location),this.target,'width=800,height=600,scrollbars=yes,resizable=yes'); return false; } else { return true; }".'"';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($app != $GLOBALS['phpgw_info']['flags']['currentapp'])
|
if ($app != $GLOBALS['phpgw_info']['flags']['currentapp'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user