Code

Fixed dialog handling in management class.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Nov 2009 13:24:31 +0000 (13:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Nov 2009 13:24:31 +0000 (13:24 +0000)
-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

index a8bd21d8106a3447c4654cf41f917ebb8b79b63c..7e906d211620879d13e50ccf54226a7ca56e378b 100644 (file)
@@ -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("");
       }
     }