From 6e197560bc387121290d7e072f9936e8dd7092c1 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 May 2006 09:00:08 +0000 Subject: [PATCH] Reassign parent before drawing new list to avoid php probs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3455 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/applications/class_applicationManagement.inc | 1 + plugins/admin/departments/class_departmentManagement.inc | 1 + plugins/admin/fai/class_faiManagement.inc | 1 + plugins/admin/groups/class_groupManagement.inc | 1 + plugins/admin/ogroups/class_ogroupManagement.inc | 1 + plugins/admin/systems/class_systemManagement.inc | 1 + plugins/admin/users/class_userManagement.inc | 1 + plugins/gofax/blocklists/class_blocklistManagement.inc | 1 + plugins/gofon/conference/class_phoneConferenceManagment.inc | 1 + plugins/gofon/macro/class_gofonMacroManagement.inc | 1 + 10 files changed, 10 insertions(+) diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc index d0f1d7934..e71dee316 100644 --- a/plugins/admin/applications/class_applicationManagement.inc +++ b/plugins/admin/applications/class_applicationManagement.inc @@ -359,6 +359,7 @@ class applicationManagement extends plugin ****************/ /* Display dialog with system list */ + $this->DivListApplication->parent = $this; $this->DivListApplication->execute(); $this->DivListApplication->AddDepartments($this->DivListApplication->selectedBase); $this->reload(); diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 947b541af..9856fed42 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -303,6 +303,7 @@ class departmentManagement extends plugin return ($display); }else{ /* Display dialog with group list */ + $this->DivListDepartment->parent = $this; $this->DivListDepartment->execute(); $this->reload(); $this->DivListDepartment->DepartmentsAdded = true; diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 32152b9ca..ea0871b9e 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -542,6 +542,7 @@ class faiManagement extends plugin ****************/ /* Display dialog with system list */ + $this->DivListFai->parent = $this; $this->DivListFai->execute(); $this->DivListFai->AddDepartments($this->DivListFai->selectedBase,4); $this->reload(); diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index fa15aabc6..fa3592cab 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -332,6 +332,7 @@ class groupManagement extends plugin } /* Display dialog with group list */ + $this->DivListGroup->parent = $this; $this->DivListGroup->execute(); /* Add departments if subsearch is disabled */ diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc index 82b7bb6a5..ebc120a7a 100644 --- a/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/plugins/admin/ogroups/class_ogroupManagement.inc @@ -342,6 +342,7 @@ class ogroupManagement extends plugin ****************/ /* Display dialog with group list */ + $this->DivListOGroup->parent = $this; $this->DivListOGroup->execute(); /* Add departments if subsearch is disabled */ diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index adcb5b6be..5c37d6b90 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -482,6 +482,7 @@ class systems extends plugin } /* Display dialog with system list */ + $this->DivListSystem->parent = $this; $this->DivListSystem->execute(); /* Add departments if subsearch is disabled */ diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index e13892c96..7d2fd5cda 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -630,6 +630,7 @@ class userManagement extends plugin /* Return rendered main page */ /* Display dialog with system list */ + $this->DivListUsers->parent = $this; $this->DivListUsers->execute(); /* Add departments if subsearch is disabled */ diff --git a/plugins/gofax/blocklists/class_blocklistManagement.inc b/plugins/gofax/blocklists/class_blocklistManagement.inc index 63f2dbb77..bcb4c10d5 100644 --- a/plugins/gofax/blocklists/class_blocklistManagement.inc +++ b/plugins/gofax/blocklists/class_blocklistManagement.inc @@ -292,6 +292,7 @@ class blocklist extends plugin ***************/ /* Display dialog with system list */ + $this->DivListBlocklist->parent = $this; $this->DivListBlocklist->execute(); /* Add departments if subsearch is disabled */ diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc index 9444cccce..a6a20c7d2 100644 --- a/plugins/gofon/conference/class_phoneConferenceManagment.inc +++ b/plugins/gofon/conference/class_phoneConferenceManagment.inc @@ -251,6 +251,7 @@ class phoneConferenceManagment extends plugin /* Return rendered main page */ /* Display dialog with system list */ + $this->DivListConference->parent = $this; $this->DivListConference->execute(); /* Add departments if subsearch is disabled */ diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc index cb28c7e13..23b1720b3 100755 --- a/plugins/gofon/macro/class_gofonMacroManagement.inc +++ b/plugins/gofon/macro/class_gofonMacroManagement.inc @@ -273,6 +273,7 @@ class gofonMacro extends plugin /* Return rendered main page */ /* Display dialog with system list */ + $this->DivListMacro->parent = $this; $this->DivListMacro->execute(); /* Add departments if subsearch is disabled */ -- 2.30.2