From 8c8179a8865fa3bc1f0f9a45f4e1db7bc5456d12 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 17 Apr 2008 06:57:37 +0000 Subject: [PATCH] Removed direct save . closes #421 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10526 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/class_systemManagement.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 09436756b..a24cf7bd7 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -879,15 +879,15 @@ class systems extends plugin the user wants to save edited data. Check and save at this point. */ - /* Dirty workaround - MSG_DIALOG - OK - If a message dialog is shown and we press 'OK' - then try to save again. - */ - foreach($_POST as $name => $value){ - if(preg_match("/^MSG_OK/",$name)){ - $_POST['edit_finish'] = TRUE; - } - } +# /* Dirty workaround - MSG_DIALOG - OK +# If a message dialog is shown and we press 'OK' +# then try to save again. +# */ +# foreach($_POST as $name => $value){ +# if(preg_match("/^MSG_OK/",$name)){ +# $_POST['edit_apply'] = TRUE; +# } +# } if ((isset($_POST['edit_finish']) || isset($_POST['edit_apply'])) && (isset($this->systab->config)) || $save_object_directly){ -- 2.30.2