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

This commit is contained in:
Nathan Gray 2015-09-04 18:37:17 +00:00
parent de66a0a10e
commit 1b20e4aa7c
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']) if ($GLOBALS['egw_info']['user']['apps']['admin'])
{ {
$file = Array( $file = Array(
'Site Configuration' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.site_config','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','admin'), 'Import definitions' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.import_definition'),
'Define imports|exports' => egw::link('/index.php',array( 'Define imports|exports' => egw::link('/index.php',array(
'menuaction' => 'importexport.importexport_definitions_ui.index', 'menuaction' => 'importexport.importexport_definitions_ui.index',
'ajax' => 'true' 'ajax' => 'true'
),'admin'), )),
'Schedule' => egw::link('/index.php', array( 'Schedule' => egw::link('/index.php', array(
'menuaction' => 'importexport.importexport_schedule_ui.index' 'menuaction' => 'importexport.importexport_schedule_ui.index'
),'admin'), )),
); );
if ($location == 'admin') if ($location == 'admin')
{ {

View File

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