From cac2ab4c776c59d92e3ac997382b00c907b4a967 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 21 Nov 2006 08:47:10 +0000 Subject: [PATCH] Fixed tab creation on copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5174 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/ogroups/class_termgroup.inc | 7 +++---- plugins/admin/ogroups/tabs_ogroups.inc | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) 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(); } -- 2.30.2