From 1b20e4aa7cb58a82cec7c2aa4bf516ca78c26b93 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 4 Sep 2015 18:37:17 +0000 Subject: [PATCH] Stop admin tree from jumping back to the top when you click some links --- .../class.importexport_admin_prefs_sidebox_hooks.inc.php | 8 ++++---- infolog/inc/class.infolog_hooks.inc.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php b/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php index 4a8af577a0..a041f2d32c 100644 --- a/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php +++ b/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php @@ -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') { diff --git a/infolog/inc/class.infolog_hooks.inc.php b/infolog/inc/class.infolog_hooks.inc.php index ece94544da..e8819dd1de 100644 --- a/infolog/inc/class.infolog_hooks.inc.php +++ b/infolog/inc/class.infolog_hooks.inc.php @@ -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') {