Stop admin tree from jumping back to the top when you click some links

This commit is contained in:
Nathan Gray 2015-09-03 16:21:02 +00:00
parent ae9acfd5e2
commit 56efdf86b6
2 changed files with 6 additions and 6 deletions

View File

@ -63,15 +63,15 @@ class importexport_admin_prefs_sidebox_hooks
if ($GLOBALS['egw_info']['user']['apps']['admin'])
{
$file = Array(
'Site Configuration' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.site_config','admin'),
'Import definitions' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.import_definition','admin'),
'Site Configuration' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.site_config'),
'Import definitions' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.import_definition'),
'Define imports|exports' => egw::link('/index.php',array(
'menuaction' => 'importexport.importexport_definitions_ui.index',
'ajax' => 'true'
),'admin'),
)),
'Schedule' => egw::link('/index.php', array(
'menuaction' => 'importexport.importexport_schedule_ui.index'
),'admin'),
)),
);
if ($location == 'admin')
{

View File

@ -109,13 +109,13 @@ class infolog_hooks
{
$file = Array(
'Site configuration' => egw::link('/index.php',array(
'menuaction' => 'infolog.infolog_ui.admin' ), 'admin'),
'menuaction' => 'infolog.infolog_ui.admin' )),
'Global Categories' => egw::link('/index.php',array(
'menuaction' => 'admin.admin_categories.index',
'appname' => $appname,
'global_cats'=> True)),
'Custom fields, typ and status' => egw::link('/index.php',array(
'menuaction' => 'infolog.infolog_customfields.index'), 'admin'),
'menuaction' => 'infolog.infolog_customfields.index')),
);
if ($location == 'admin')
{