summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54c16af)
raw | patch | inline | side by side (parent: 54c16af)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 05:12:42 +0000 (05:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 05:12:42 +0000 (05:12 +0000) |
"showning own lock message caused by reloading edit post" ,
"prevent displaying broken objects "
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2781 594d385d-05f5-0310-b6e9-bd551577e9d8
"prevent displaying broken objects "
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2781 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 7596c0a9cbfc77fdb7dee7688163519629d13a89..920257bcc45716abac6a5844193586b9734b5918 100644 (file)
}
/* Edit Entry */
- if($s_action == "edit"){
+ //if($s_action == "edit"){
+ if(($s_action == "edit") && (!isset($this->dialog->config))){
$entry = $this->objects[$s_entry];
$a_setup = ($this->get_type($entry));
* If it was possible to save it, remove dialog object.
* If it wasn't possible, show errors and keep dialog.
*/
- if(isset($_POST['edit_finish'])){
+ if((isset($_POST['edit_finish'])) && (isset($this->dialog->config))){
$this->dialog->save_object();
if(count($this->dialog->check())!=0){
foreach($this->dialog->check() as $msg){
* Here we need both, save and cancel
*/
- if($this->dialog != NULL){
+ if(($this->dialog != NULL) && (isset($this->dialog->config))){
$display .= $this->dialog->execute();
/* Don't show buttons if tab dialog requests this */
if (((isset($this->dialog->current))&&($this->dialog->by_object[$this->dialog->current]->is_dialog))){