From 665bc89e25da29721eb3a393853ff013112e9706 Mon Sep 17 00:00:00 2001 From: bergware Date: Fri, 25 Feb 2022 20:05:18 +0100 Subject: [PATCH] Fixed: buttons not working in device info when no device is present --- plugins/dynamix/DeviceInfo.page | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix/DeviceInfo.page b/plugins/dynamix/DeviceInfo.page index e8594a0c1..668a327a8 100644 --- a/plugins/dynamix/DeviceInfo.page +++ b/plugins/dynamix/DeviceInfo.page @@ -296,11 +296,13 @@ $(function() { $('div[id=title]:first').append(ctrl); + var form = document.smart_settings; form.smType.selectedIndex = 0; setGlue(form,false); + if (!$('#shareEnabled').prop('disabled')) freeSpace($('#shareEnabled').val()); var btrfs = false; if ($.cookie('btrfs-balance-')) btrfs = btrfsBalance($.cookie('btrfs-balance-')); @@ -461,7 +463,7 @@ _(Critical disk utilization threshold)_ (%): > - + >_(Unassign **ALL** devices to delete this pool)_ @@ -688,7 +690,7 @@ _(xfs_repair status)_: - +
_(SMART Settings)_