Code

Fixed missing images problem in group headpage
[gosa.git] / plugins / admin / fai / class_faiPartitionTableEntry.inc
index 9b21944a9f51a8dcfaae49021cfd75a9158f4e72..587f8379ab409f82914753644f3db928a20fb74e 100644 (file)
@@ -199,7 +199,7 @@ class faiPartitionTableEntry extends plugin
       if($part['status']!="delete"){
         /* Generate Partition select box  
          */
-        $PartitionType = "<select name='FAIpartitionType_".$key."' id='FAIpartitionType_".$key."' ".$dis.">";
+        $PartitionType = "<select name='FAIpartitionType_".$key."' id='FAIpartitionType_".$key."' >";
         foreach($PartitionTypes as $type){
           if($part['FAIpartitionType'] == $type){
             $PartitionType .="<option value='".$type."' selected >".$type."</option>";
@@ -233,7 +233,6 @@ class faiPartitionTableEntry extends plugin
         $changeState = "onClick=\"changeState('FAImountPoint_".$key."') ; ".
                                  "changeState('FAIpartitionSize_".$key."') ; ".
                                  "changeState('FAImountOptions_".$key."') ; ".
-                                 "changeState('FAIpartitionType_".$key."') ; ".
                                  "changeState('FAIfsType_".$key."') ; ".
                                  "changeState('FAIfsOptions_".$key."') ; \"";
   
@@ -277,7 +276,6 @@ class faiPartitionTableEntry extends plugin
       $tmp['rename']['from']  = $this->old_cn;
       $tmp['rename']['to']    = $this->DISK_cn;
     }
-
     return($tmp);
   }
 
@@ -327,7 +325,6 @@ class faiPartitionTableEntry extends plugin
   
       /* Skip all checks, if preserve is set */ 
       if($part['FAIpartitionFlags'] == "preserve"){
-        $this->partitions[$key]['FAIpartitionType'] = "preserve";
         $this->partitions[$key]['FAIfsType']        = "preserve";
         $this->partitions[$key]['FAIpartitionSize'] = "preserve";
         continue;