mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Stop admin tree from jumping back to the top when you click some links
This commit is contained in:
parent
ae9acfd5e2
commit
56efdf86b6
@ -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')
|
||||
{
|
||||
|
@ -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')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user