Code

Updated management and its apply button handling.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Jul 2010 14:57:37 +0000 (14:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Jul 2010 14:57:37 +0000 (14:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19027 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_management.inc

index 77f07307f1bedaf0e9687a9a1f86570de83adbc5..3d5e66134b5d3c28f8fc7c76ce0e8345aa8e88bf 100644 (file)
@@ -688,9 +688,10 @@ class management
     if(!empty($altTabType)) $tabType = $altTabType;
     if(!empty($altAclCategory)) $aclCategory = $altAclCategory;
 
+    $this->displayApplyBtn = count($target) == 1;
+
     // Single edit - we only got one object dn.
     if(count($target) == 1){
-      $this->displayApplyBtn = TRUE;
       $this->is_new = FALSE;
       $this->is_single_edit = TRUE;
       $this->is_multiple_edit = FALSE;