From 15d01113e7da95185c4bd02f168c61402dbb0364 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 8 Aug 2006 10:54:52 +0000 Subject: [PATCH] gotoMode for new objects added git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4426 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_systemManagement.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 10df0550f..38bac6d49 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -402,10 +402,10 @@ class systems extends plugin $found = false; /* Set gotoMode to active if we there was an ogroup selected . (save_object_directly) */ - foreach(array("workgeneric","servgeneric") as $tab){ + foreach(array("workgeneric"=>"active","servgeneric"=>"active","termgeneric"=>"graphic") as $tab => $value){ if(isset($this->systab->by_object[$tab]->gotoMode)) { $found = true; - $this->systab->by_object[$tab]->gotoMode = "active"; + $this->systab->by_object[$tab]->gotoMode = $value; } } if(!$found){ -- 2.30.2