Code

Added delete icon to ppd list if ppd file is removeable
[gosa.git] / plugins / admin / systems / tabs_server.inc
index 4d4a4f4256d65dbc979bbf4b0ca490ad8dbe7afb..037aa850199ef91f1d45d9ecfe5ce965bc37968a 100644 (file)
@@ -20,17 +20,22 @@ class servtabs extends tabs
        'dn' to all plugins */
     $baseobject= $this->by_object['servgeneric'];
     $this->dn= "cn=$baseobject->cn,ou=servers,ou=systems,".$baseobject->base;
+    $baseobject->dn= $this->dn;
 
     foreach ($this->by_object as $key => $obj){
       $this->by_object[$key]->dn= $this->dn;
+      $this->by_object[$key]->cn= $baseobject->cn;
     }
 
-    tabs::save(TRUE);
+    tabs::save(FALSE);
 
     /* Reload server settings after saving */
     $config= $_SESSION['config'];
     $config->load_servers();
     $_SESSION['config']= $config;
+
+    /* Fix tagging if needed */
+    $baseobject->handle_object_tagging();
   }
 
 }