From: hickert Date: Thu, 5 Nov 2009 13:24:31 +0000 (+0000) Subject: Fixed dialog handling in management class. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=27b7949bd83e5d5c4627af691f08da4b10045501;p=gosa.git Fixed dialog handling in management class. -Hide save/cancel buttons while dialogs are opened git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14762 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_management.inc b/gosa-core/include/class_management.inc index a8bd21d81..7e906d211 100644 --- a/gosa-core/include/class_management.inc +++ b/gosa-core/include/class_management.inc @@ -203,7 +203,7 @@ class management // Check if there is a dialog opened - We don't need any buttons in this case. if($this->tabObject->by_object[$this->tabObject->current]){ $current = $this->tabObject->by_object[$this->tabObject->current]; - if(is_object($current->dialog)){ + if(isset($current->dialog) && (is_object($current->dialog) || $current->dialog)){ return(""); } }