Code

Reenalbed Copy & paste for user/groups/ogrpus
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Feb 2007 06:21:34 +0000 (06:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Feb 2007 06:21:34 +0000 (06:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5690 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupManagement.inc
plugins/admin/ogroups/class_ogroupManagement.inc
plugins/admin/users/class_userManagement.inc

index 33fe9dfd6eb6d5f25664760c3aa0fd8629644ceb..5fffa230f8eb12c85ba32a42f43b994b6235a5de 100644 (file)
@@ -127,7 +127,7 @@ class groupManagement extends plugin
     /* Only perform copy&paste requests if it is enabled
      */
     /* Get 'dn' from posted 'uid' */
-    if(in_array_ics($s_action,array("editPaste","cut","copy"))){
+    if(in_array_ics($s_action,array("editPaste","cut","copy")) || $this->CopyPasteHandler->stillOpen()){
 
       if(isset($this->grouplist[trim($s_entry)]['dn'])){
         $dn= $this->grouplist[trim($s_entry)]['dn'];
index a0a981e6441536ffd3d627d04d77ae9a5c632c5b..04d902d8bd93a1023fc2d7430b88cb3944803366 100644 (file)
@@ -122,7 +122,7 @@ class ogroupManagement extends plugin
     /* Only perform copy&paste requests if it is enabled
      */
     /* Get 'dn' from posted 'uid' */
-    if(in_array_ics($s_action,array("editPaste","cut","copy"))){
+    if(in_array_ics($s_action,array("editPaste","cut","copy")) || $this->CopyPasteHandler->stillOpen()){
 
       if(isset($this->ogrouplist[trim($s_entry)]['dn'])){
         $dn= $this->ogrouplist[trim($s_entry)]['dn'];
index 63a238616c89d28b3c6c5fddfae32e1d26f9664c..c850727a723f48a99dc60b1eaeba5c753bce33fa 100644 (file)
@@ -111,7 +111,7 @@ class userManagement extends plugin
     }
 
     /* Get 'dn' from posted 'uid' */
-    if(in_array_ics($s_action,array("editPaste","cut","copy"))){
+    if(in_array_ics($s_action,array("editPaste","cut","copy")) || $this->CopyPasteHandler->stillOpen()){
 
       if(isset($this->list[trim($s_entry)]['dn'])){
         $dn= $this->list[trim($s_entry)]['dn'];