From: hickert Date: Tue, 8 Aug 2006 10:54:52 +0000 (+0000) Subject: gotoMode for new objects added X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=15d01113e7da95185c4bd02f168c61402dbb0364;p=gosa.git gotoMode for new objects added git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4426 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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){