From 8619d57798cc98c13cca6d8d7dd3cbfa0804be49 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 Oct 2009 16:11:30 +0000 Subject: [PATCH] Allow department edit again git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14676 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/departments/class_departmentManagement.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index 170c562f4..51a026e21 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -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. */ -- 2.30.2