From: hickert Date: Tue, 21 Nov 2006 08:47:10 +0000 (+0000) Subject: Fixed tab creation on copy & paste X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cac2ab4c776c59d92e3ac997382b00c907b4a967;p=gosa.git Fixed tab creation on copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5174 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_termgroup.inc b/plugins/admin/ogroups/class_termgroup.inc index 5abb02d36..ffd6eb115 100644 --- a/plugins/admin/ogroups/class_termgroup.inc +++ b/plugins/admin/ogroups/class_termgroup.inc @@ -3,9 +3,6 @@ class termgroup extends plugin { /* attribute list for save action */ - var $attributes= array("gotoMode","gotoSyslogServer", "gotoNtpServer"); - var $objectclasses= array("gotoWorkstationTemplate"); - var $members= array(); var $gotoMode = "locked"; @@ -25,7 +22,9 @@ class termgroup extends plugin "memcheck" => "memcheck", "sysinfo" => "sysinfo"); - var $CopyPasteVars = array("gotoNtpServers","modes","inheritTimeServer"); + var $attributes = array("gotoMode","gotoSyslogServer", "gotoNtpServer"); + var $objectclasses = array("gotoWorkstationTemplate"); + var $CopyPasteVars = array("gotoNtpServers","modes","inheritTimeServer","members"); function termgroup ($config, $dn= NULL, $parent= NULL) { diff --git a/plugins/admin/ogroups/tabs_ogroups.inc b/plugins/admin/ogroups/tabs_ogroups.inc index 8c7afb658..6664bce7e 100644 --- a/plugins/admin/ogroups/tabs_ogroups.inc +++ b/plugins/admin/ogroups/tabs_ogroups.inc @@ -129,7 +129,6 @@ class ogrouptabs extends tabs function execute(){ $str = ""; - $this->by_object['ogroup']->AddDelMembership(); $this->reload($this->by_object['ogroup']->gosaGroupObjects); $str .= tabs::execute(); @@ -193,6 +192,7 @@ class ogrouptabs extends tabs } /* Add references/acls/snapshots */ + $this->reload($this->by_object['ogroup']->gosaGroupObjects); $this->addSpecialTabs(); }