mirror of
https://github.com/unraid/webgui.git
synced 2026-01-25 19:19:06 -06:00
Handle the case when switching to no array, and an array 'prefer' move setting is set.
This commit is contained in:
@@ -676,7 +676,12 @@ function updateScreen(cache, slow) {
|
||||
$('#secondary option:eq(1)').prop('disabled', poolsOnly);
|
||||
$('#moverDirection1 option:eq(0)').text($('#primary option:eq(' + z(0) + ')').text() + ' → ' + $('#secondary option:eq(' + z(1) + ')').text());
|
||||
$('#moverDirection1 option:eq(1)').text($('#secondary option:eq(' + z(1) + ')').text() + ' → ' + $('#primary option:eq(' + z(0) + ')').text());
|
||||
$('#moverDirection1').val('1').show();
|
||||
if (!poolsOnly) {
|
||||
$('#moverDirection1').val('1').show();
|
||||
} else {
|
||||
secondaryDropdown.selectedIndex = 0;
|
||||
$('#moverDirection1').val('1').hide();
|
||||
}
|
||||
$('#moverDirection2').hide();
|
||||
$('#moreSettings1').hide(slow);
|
||||
$('#cow-setting').hide(slow);
|
||||
|
||||
Reference in New Issue
Block a user