diff --git a/emhttp/plugins/dynamix/DeviceInfo.page b/emhttp/plugins/dynamix/DeviceInfo.page index b6107af34..eb2c06afa 100644 --- a/emhttp/plugins/dynamix/DeviceInfo.page +++ b/emhttp/plugins/dynamix/DeviceInfo.page @@ -331,6 +331,7 @@ function selectDiskFsProfile(init) { if (slots == 0) slots = ; var subpool = ""; + var fsStatus = ""; var fsType; if (subpool == '') { @@ -371,7 +372,7 @@ function selectDiskFsProfile(init) { $('#diskCompression').prop('disabled',true); } else { $('#compression').show(t); - $('#diskCompression').prop('disabled',false); + $('#diskCompression').prop('disabled',(fsStatus == 'Mounted')); } @@ -383,7 +384,7 @@ function selectDiskFsProfile(init) { $('#diskAutotrim').prop('disabled',true); } else { $('#autotrim').show(t); - $('#diskAutotrim').prop('disabled',false); + $('#diskAutotrim').prop('disabled',(fsStatus == 'Mounted')); } } @@ -796,7 +797,7 @@ _(Allocation profile)_:
_(Compression)_: -: @@ -805,7 +806,7 @@ _(Compression)_:
_(Autotrim)_: -: