Code

Added fix for divlist department selection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Jul 2006 03:24:51 +0000 (03:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Jul 2006 03:24:51 +0000 (03:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4342 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentManagement.inc
plugins/admin/departments/main.inc

index 99f784c5a7703751a5dafbe97cba54b6ec4d1211..018e2e38aa35fb21e9a0eedddaaac9af899b581f 100644 (file)
@@ -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;
index 4512d6954a1e6100bb5995fe09cfcb2ebca35d3d..5db627873ebe0dfa0a7b684d204147f52c2ae90f 100644 (file)
@@ -51,6 +51,7 @@ if ($remove_lock){
 
        $display.= $output;
        $_SESSION['department']= $department;
+       $config = $department->config;
 }
 
 ?>