mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 19:08:27 +01:00
Do not remove cd=yes from url of an ajax app which has ajax=true
This commit is contained in:
parent
701a311904
commit
857ae9427a
@ -957,7 +957,8 @@ div .egw_fw_ui_sidemenu_entry_content > div {
|
|||||||
//self::app_from_url might return an application the user has no rights
|
//self::app_from_url might return an application the user has no rights
|
||||||
//for or may return an application that simply does not exist. So check first
|
//for or may return an application that simply does not exist. So check first
|
||||||
//whether the $active_tab really exists in the $apps array.
|
//whether the $active_tab really exists in the $apps array.
|
||||||
if ($active_tab && array_key_exists($active_tab, $apps))
|
// Do not remove cd=yes if it's an ajax=true app
|
||||||
|
if ($active_tab && array_key_exists($active_tab, $apps) && strpos( $apps[$active_tab]['url'],'ajax=true') === False)
|
||||||
{
|
{
|
||||||
$apps[$active_tab]['openOnce'] = preg_replace('/[&?]cd=yes/','',$url);
|
$apps[$active_tab]['openOnce'] = preg_replace('/[&?]cd=yes/','',$url);
|
||||||
$store_prefs = true;
|
$store_prefs = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user