summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 923b4e1)
raw | patch | inline | side by side (parent: 923b4e1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Nov 2009 14:30:59 +0000 (14:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Nov 2009 14:30:59 +0000 (14:30 +0000) |
- We've lost all modification in the paste dialog when we triggered a custom page reload.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14833 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14833 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_CopyPasteHandler.inc | patch | blob | history |
diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc
index 6436330550dec8d17e1b0caac0a4da8576389d06..4d6fb1ddb04928d4e27061661fa2e7dfc6607ba6 100644 (file)
/* Save edited entry and force loading new one
*/
- if(isset($_POST['PerformCopyPaste']) && $this->current){
+ if(isset($this->current['object']) && method_exists($this->current['object'],"saveCopyDialog")) {
$this->current['object']->saveCopyDialog();
+ }
+
+ if(isset($_POST['PerformCopyPaste']) && $this->current){
$msgs = $this->check();
/* Load next queue entry */