mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 14:30:29 -05:00
Bug fixes
This commit is contained in:
@@ -554,7 +554,7 @@ function enable_stop() {
|
||||
case 'enable':
|
||||
var stop = $('td#stop');
|
||||
stop.html(stop.html().replace("<?=$btrfs?>",""));
|
||||
$('input[value="Stop"]').prop('disabled',false);
|
||||
$('input[value="_(Stop)_"]').prop('disabled',false);
|
||||
break;}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -209,6 +209,9 @@ function xfsCheck(path) {
|
||||
function updateMode(form,mode) {
|
||||
$(form).find('input[name="#arg[3]"]').val(mode);
|
||||
}
|
||||
$.get('/webGui/include/ReloadPage.php',{btrfs:'btrfs'},function(btrfs) {
|
||||
if (btrfs=='disable' && !$.cookie('btrfs-balance-<?=$disk['name']?>')) btrfsBalance($.cookie('btrfs-balance-<?=$disk['name']?>'));
|
||||
});
|
||||
$(function() {
|
||||
<?if (count($sheets)>1):?>
|
||||
var ctrl = "<span class='status <?=$tabbed?'vhshift':'vshift'?>'><span class='waitmsg fa fa-circle-o-notch fa-span fa-fw' style='display:none;margin-right:8px'></span><a href='/Main/<?=$type?>?name=<?=$prev?>' title='previous device'>";
|
||||
|
||||
@@ -139,8 +139,8 @@ function vfs_luks($fs) {
|
||||
}
|
||||
function fs_info(&$disk) {
|
||||
global $display;
|
||||
if ($disk['fsStatus']=='-') {
|
||||
echo ($disk['type']=='Cache' && $disk['name']!='cache') ? "<td colspan='4'>"._('Device is part of a pool')."</td><td></td>" : "<td colspan='5'></td>";
|
||||
if (empty($disk['fsStatus'])) {
|
||||
echo ($disk['type']=='Cache') ? "<td colspan='4'>"._('Device is part of a pool')."</td><td></td>" : "<td colspan='5'></td>";
|
||||
return;
|
||||
} elseif ($disk['fsStatus']=='Mounted') {
|
||||
echo "<td>".vfs_type($disk['fsType'])."</td>";
|
||||
|
||||
Reference in New Issue
Block a user