Code

Allow department edit again
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Oct 2009 16:11:30 +0000 (16:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Oct 2009 16:11:30 +0000 (16:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14676 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc

index 170c562f4e1e6db38a8b696ff3392b174ba04180..51a026e219491105db8d87c8e8e0ce8319401485 100644 (file)
@@ -66,6 +66,16 @@ class departmentManagement extends management
     $this->registerAction("open","openEntry");
   }
 
+
+  function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
+  {
+    $types= $this->get_support_departments();
+    $type = $this->headpage->getType($target[0]);
+    management::editEntry($action,$target,$all,$this->tabClass,$types[$type]['TAB'],$this->aclCategory);
+  }
+
+  
+
   function openEntry($action,$entry)
   {
     $this->headpage->setBase(array_pop($entry));
@@ -83,7 +93,6 @@ class departmentManagement extends management
   }
 
 
-
   /*! \brief  Returns information about all container types that GOsa con handle.
     @return Array   Informations about departments supported by GOsa.
    */