mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Auto-detect location target if not set.
Fixes whole page reloads in jdots/pixelegg.
This commit is contained in:
parent
dfd2c3eaa4
commit
fe5650e144
@ -694,6 +694,13 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
else
|
||||
{
|
||||
$action['data']['nm_action'] = 'location';
|
||||
if(!$action['target'] && strpos($action['url'],'menuaction') > 0)
|
||||
{
|
||||
// It would be better if app set target, but we'll auto-detect if not
|
||||
list(,$menuaction) = explode('=',$action['url']);
|
||||
list($app) = explode('.',$menuaction);
|
||||
$action['data']['target'] = $app;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($action['egw_open'])
|
||||
|
Loading…
Reference in New Issue
Block a user