From 87a10c71fc4a79af78f6648f0dc25df415baf892 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 31 Jul 2006 03:24:51 +0000 Subject: [PATCH] Added fix for divlist department selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4342 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentManagement.inc | 5 +++++ plugins/admin/departments/main.inc | 1 + 2 files changed, 6 insertions(+) diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 99f784c5a..018e2e38a 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -205,6 +205,11 @@ class departmentManagement extends plugin if($this->deptabs->by_object['department']->am_i_moved()){ $this->RecursiveRemoveRequested = true; } + + $this->config->get_departments($this->dn); + $this->config->make_idepartments(); + + $this->DivListDepartment->config=$this->config; /* This var indicated that there is an object which isn't saved right now. */ $this->ObjectInSaveMode = true; diff --git a/plugins/admin/departments/main.inc b/plugins/admin/departments/main.inc index 4512d6954..5db627873 100644 --- a/plugins/admin/departments/main.inc +++ b/plugins/admin/departments/main.inc @@ -51,6 +51,7 @@ if ($remove_lock){ $display.= $output; $_SESSION['department']= $department; + $config = $department->config; } ?> -- 2.30.2