diff --git a/emhttp/plugins/dynamix/BrowseButton.page b/emhttp/plugins/dynamix/BrowseButton.page index 118ee6f19..54aa3a168 100644 --- a/emhttp/plugins/dynamix/BrowseButton.page +++ b/emhttp/plugins/dynamix/BrowseButton.page @@ -47,19 +47,16 @@ var dfm_read = {}; function dfm_footer(action, text) { switch (action) { case 'show': - $('#countdown').show(); $('#user-notice').show(); break; case 'hide': - $('#countdown').hide(); $('#user-notice').hide(); break; case 'write': - if ($('#countdown').html() == '') $('#countdown').html(''); - $('#user-notice').html(text); + let icon = ''; + $('#user-notice').html(icon + text); break; case 'clear': - $('#countdown').html(''); $('#user-notice').html(''); break; } diff --git a/emhttp/plugins/dynamix/ParityCheck.page b/emhttp/plugins/dynamix/ParityCheck.page index 29019ff73..678b9f1ff 100644 --- a/emhttp/plugins/dynamix/ParityCheck.page +++ b/emhttp/plugins/dynamix/ParityCheck.page @@ -1,7 +1,7 @@ Menu="Scheduler:1" Title="Parity Check" Tag="calendar" -Cond="$disks['parity']['device'] || $disks['parity2']['device']" +Cond="$disks['parity']['device'] || $disks['parity2']['device'] || count(array_filter(array_column($disks,'type'),function($type){return $type=='Data';}))" ---