From 01b0eef8d98ee715a0f7f0356309b78b7e869a26 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 6 Feb 2007 06:21:34 +0000 Subject: [PATCH] Reenalbed Copy & paste for user/groups/ogrpus git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5690 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupManagement.inc | 2 +- plugins/admin/ogroups/class_ogroupManagement.inc | 2 +- plugins/admin/users/class_userManagement.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 33fe9dfd6..5fffa230f 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -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']; diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc index a0a981e64..04d902d8b 100644 --- a/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/plugins/admin/ogroups/class_ogroupManagement.inc @@ -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']; diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 63a238616..c850727a7 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -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']; -- 2.30.2