Code

Udpated mime acls
[gosa.git] / plugins / admin / systems / tabs_component.inc
index deead42afbf482258c3e1b4a8d958ef2fb70c85b..b45cf2c7dc123737a70c6091d64222f66b99c451 100644 (file)
@@ -6,6 +6,9 @@ class componenttabs extends tabs
   function componenttabs($config, $data, $dn)
   {
     tabs::tabs($config, $data, $dn);
+
+    /* Add references/acls/snapshots */
+    $this->addSpecialTabs();
   }
 
   function save_object($save_current= FALSE)
@@ -20,12 +23,16 @@ class componenttabs extends tabs
        'dn' to all plugins */
     $baseobject= $this->by_object['componentgeneric'];
     $this->dn= "cn=$baseobject->cn,ou=netdevices,ou=systems,".$baseobject->base;
+    $baseobject->dn= $this->dn;
 
     foreach ($this->by_object as $key => $obj){
       $this->by_object[$key]->dn= $this->dn;
     }
 
     tabs::save(TRUE);
+
+    /* Fix tagging if needed */
+    $baseobject->handle_object_tagging();
   }
 
 }