Code

Updated copy & paste
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Mar 2008 10:10:08 +0000 (10:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Mar 2008 10:10:08 +0000 (10:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9234 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc
gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc

index 55bdfda21019330b49ff43b4ddbc2b94d18e4609..7f871268619f99c16cf6aecd93976321f7eb72c6 100644 (file)
@@ -503,12 +503,9 @@ class phoneConferenceManagment extends plugin
     /* Return C&P dialog */
     if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){
 
-      /* Load entry from queue and set base */
-      $this->CopyPasteHandler->load_entry_from_queue();
-      $this->CopyPasteHandler->SetVar("base",$this->DivListConference->selectedBase);
-
       /* Get dialog */
       $data = $this->CopyPasteHandler->execute();
+      $this->CopyPasteHandler->SetVar("base",$this->DivListConference->selectedBase);
 
       /* Return dialog data */
       if(!empty($data)){
index 2fd5640099fbf5cf6510ca715fe12bd8c8a95c28..e60c943b221224ea277e8a947c688af613d19eb9 100644 (file)
@@ -465,12 +465,9 @@ class goFonMacro extends plugin
     /* Return C&P dialog */
     if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){
 
-      /* Load entry from queue and set base */
-      $this->CopyPasteHandler->load_entry_from_queue();
-      $this->CopyPasteHandler->SetVar("base",$this->DivListMacro->selectedBase);
-
       /* Get dialog */
       $data = $this->CopyPasteHandler->execute();
+      $this->CopyPasteHandler->SetVar("base",$this->DivListMacro->selectedBase);
 
       /* Return dialog data */
       if(!empty($data)){