From: hickert Date: Wed, 26 Oct 2005 11:32:15 +0000 (+0000) Subject: Don't gray out PartitionType on preserve X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9ebb0027646eb1b5dc8d249201090f7c71f761c1;p=gosa.git Don't gray out PartitionType on preserve git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1695 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc index 9b21944a9..587f8379a 100644 --- a/plugins/admin/fai/class_faiPartitionTableEntry.inc +++ b/plugins/admin/fai/class_faiPartitionTableEntry.inc @@ -199,7 +199,7 @@ class faiPartitionTableEntry extends plugin if($part['status']!="delete"){ /* Generate Partition select box */ - $PartitionType = ""; foreach($PartitionTypes as $type){ if($part['FAIpartitionType'] == $type){ $PartitionType .=""; @@ -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;