Code

Fixed tab creation on copy & paste
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Nov 2006 08:47:10 +0000 (08:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Nov 2006 08:47:10 +0000 (08:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5174 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_termgroup.inc
plugins/admin/ogroups/tabs_ogroups.inc

index 5abb02d36c7eaead079c3376e5485a0c7cb5ceb6..ffd6eb115ceea23242a810c5b56e6382b0046d4a 100644 (file)
@@ -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)
   {
index 8c7afb6583465e6fc62b9f32d4e236b6a65f29fc..6664bce7e02a2d61f80f24bc4a44433841573735 100644 (file)
@@ -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();
   }