Code

gotoMode for new objects added
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Aug 2006 10:54:52 +0000 (10:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Aug 2006 10:54:52 +0000 (10:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4426 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_systemManagement.inc

index 10df0550f8322a226860ed97a9891ca8f68d603b..38bac6d49c4ba2f9f9f50a060c5a5c33e7f16f33 100644 (file)
@@ -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){