Code

Udpated copy & paste variable adaption
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 May 2008 10:41:18 +0000 (10:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 May 2008 10:41:18 +0000 (10:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11084 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/class_userManagement.inc

index a038f933346ecf43d5eb3461ec16fabe6352e819..539b896e79a0a1b8af24300979a428f9876cc0d4 100644 (file)
@@ -1118,6 +1118,7 @@ class userManagement extends plugin
 
       /* Cleanup object queue */
       $this->CopyPasteHandler->cleanup_queue();
+      $this->CopyPasteHandler->SetVar("base",$this->DivListUsers->selectedBase); 
       $dn = $this->list[$s_entry]['dn'];
       if($s_action == "copy" && preg_match("/r/",$ui->has_complete_category_acls($dn,"users"))){
         $this->CopyPasteHandler->add_to_queue($dn,$s_action,"usertabs","USERTABS","users");
@@ -1132,6 +1133,7 @@ class userManagement extends plugin
 
       /* Cleanup object queue */
       $this->CopyPasteHandler->cleanup_queue();
+      $this->CopyPasteHandler->SetVar("base",$this->DivListUsers->selectedBase); 
 
       /* Add new entries to CP queue */
       foreach($this->list_get_selected_items() as $id){
@@ -1156,7 +1158,6 @@ class userManagement extends plugin
    
       /* Get dialog */
       $data = $this->CopyPasteHandler->execute();
-      $this->CopyPasteHandler->SetVar("base",$this->DivListUsers->selectedBase); 
 
       /* Set CPPasswordChange to s_entry which indicates that this entry requires a new password. */
       if(isset($_POST['passwordTodo']) && ($_POST['passwordTodo'] == "new")){