From f50ef17975b60fd8c6394f8c6e7f1250bd95b1eb Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 22 Nov 2006 09:48:01 +0000 Subject: [PATCH] Fixed copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5188 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_CopyPasteHandler.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc index 446c7f244..481241092 100644 --- a/include/class_CopyPasteHandler.inc +++ b/include/class_CopyPasteHandler.inc @@ -125,6 +125,11 @@ class CopyPasteHandler { */ if($this->cutCurrent){ + if(isset($_POST['PerformCopyPaste'])){ + $this->current->save(); + $this->dialogOpen =false; + $this->Clear(); + } if($this->current){ $smarty = get_smarty(); $smarty->assign("type","cut"); @@ -136,11 +141,6 @@ class CopyPasteHandler { return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE))); } - if(isset($_POST['PerformCopyPaste'])){ - $this->current->save(); - $this->dialogOpen =false; - $this->Clear(); - } /* Copy & paste */ }else{ -- 2.30.2