Merge pull request #2205 from bergware/master

Miscellaneous fixes
This commit is contained in:
tom mortensen
2025-05-24 20:59:10 -07:00
committed by GitHub
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -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('<a class="hand" onclick="dfm_openDialog(true)" title="_(File Manager)_"><i class="icon-u-duplicate dfm"></i></a>');
$('#user-notice').html(text);
let icon = '<a class="hand" onclick="dfm_openDialog(true)" title="_(File Manager)_"><i class="icon-u-duplicate dfm"></i></a>';
$('#user-notice').html(icon + text);
break;
case 'clear':
$('#countdown').html('');
$('#user-notice').html('');
break;
}
+1 -1
View File
@@ -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';}))"
---
<?PHP
/* Copyright 2012-2025, Bergware International.