Disable filesystem selection when data-rebuild is pending

This commit is contained in:
bergware
2016-12-17 20:09:33 +01:00
parent 1c36fba6db
commit 3f90cda43c

View File

@@ -106,7 +106,7 @@ File system status:
<?endif;?>
<?if ($disk['type']=="Data" || ($disk['type']=="Cache" && $var['SYS_CACHE_SLOTS']==1)):?>
<?if ($var['fsState']=="Stopped"):?>
<?$disabled = $var['mdState']=="RECON_DISK" ? "disabled" : "";?>
<?$disabled = $var['mdState']=="RECON_DISK" || $var['mdState']=="SWAP_DSBL" ? "disabled" : "";?>
File system type:
: <select name="diskFsType.<?=$disk['idx'];?>" size="1" <?=$disabled?>>