From 8e5c6456f44c62eb4759cdc172e704079829d08c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 5 Nov 2009 12:54:41 +0000 Subject: [PATCH] -removed locks if we abort object removal. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14761 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_management.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gosa-core/include/class_management.inc b/gosa-core/include/class_management.inc index 8cdeb12ec..a8bd21d81 100644 --- a/gosa-core/include/class_management.inc +++ b/gosa-core/include/class_management.inc @@ -96,6 +96,7 @@ class management $this->registerAction("apply", "applyChanges"); $this->registerAction("save", "saveChanges"); $this->registerAction("cancel", "cancelEdit"); + $this->registerAction("cancelDelete", "cancelEdit"); $this->registerAction("remove", "removeEntryRequested"); $this->registerAction("removeConfirmed", "removeEntryConfirmed"); @@ -336,6 +337,7 @@ class management if(isset($_POST['edit_finish'])) $action['action'] = "save"; if(isset($_POST['edit_cancel'])) $action['action'] = "cancel"; if(isset($_POST['delete_confirmed'])) $action['action'] = "removeConfirmed"; + if(isset($_POST['delete_cancel'])) $action['action'] = "cancelDelete"; // Detect Snapshot actions if(isset($_POST['CreateSnapshot'])) $action['action'] = "saveSnapshot"; -- 2.30.2