From: hickert Date: Tue, 14 Dec 2010 14:17:57 +0000 (+0000) Subject: Updated connectivity tab X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cb5b2fc5e3b5cef317579a1d315b91c90739af7;p=gosa.git Updated connectivity tab -fixed problem with parent object git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20556 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc index 27a866423..f1be45aa0 100644 --- a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc +++ b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc @@ -86,7 +86,6 @@ class connectivity extends plugin } } - /* Remove checkboxes in single edit mode */ if ($this->parent !== NULL){ foreach ($this->plugin_name as $name){ $this->plugin[$name]->parent= $this->parent; @@ -155,6 +154,13 @@ class connectivity extends plugin /* Save to LDAP */ function save() { + // Append parent to sub-plugins. + if ($this->parent !== NULL){ + foreach ($this->plugin_name as $name){ + $this->plugin[$name]->parent= $this->parent; + } + } + /* Save objects */ foreach ($this->plugin_name as $name){ $this->plugin[$name]->dn= $this->dn; @@ -169,6 +175,13 @@ class connectivity extends plugin function remove_from_parent() { + // Append parent to sub-plugins. + if ($this->parent !== NULL){ + foreach ($this->plugin_name as $name){ + $this->plugin[$name]->parent= $this->parent; + } + } + /* Remove objects */ foreach ($this->plugin_name as $name){ $this->plugin[$name]->dn= $this->dn;