From 27b7949bd83e5d5c4627af691f08da4b10045501 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 5 Nov 2009 13:24:31 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_management.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(""); } } -- 2.30.2