Code

Updated device editor
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Sep 2010 14:03:15 +0000 (14:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 28 Sep 2010 14:03:15 +0000 (14:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19841 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc

index e42e4e05f0142ae1bc39531cb3c4d73e49c284ff..e2e221217d2c7f8f61bf87134bf6dfeaa52ceaa5 100644 (file)
@@ -368,6 +368,11 @@ class DeviceConfig extends management
         $action = management::detectPostActions();
         if(isset($_POST['saveItemEdit'])) $action['action'] = "saveItemChanges";
         if(isset($_POST['cancelItemEdit'])) $action['action'] = "cancelItemEdit";
+
+        if($action['action'] == 'remove'){
+             echo "Löschen geht nicht!";
+             $action['action'] = "";
+        }
         return($action);
     }