From: hickert Date: Thu, 17 Apr 2008 06:57:37 +0000 (+0000) Subject: Removed direct save . closes #421 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c8179a8865fa3bc1f0f9a45f4e1db7bc5456d12;p=gosa.git Removed direct save . closes #421 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10526 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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){