mirror of
https://github.com/unraid/webgui.git
synced 2026-03-11 13:31:46 -05:00
Fixed: missing spinner on user shares and disk shares compute
This commit is contained in:
@@ -20,6 +20,7 @@ function displayDisks(all) {
|
||||
if (all == 'yes') {
|
||||
$.cookie('ssz','ssz',{path:'/'});
|
||||
$('#disk_list').html("<tr><td colspan='8'><div class='spinner'></div></td></tr>");
|
||||
$('div.spinner').html(unraid_logo);
|
||||
}
|
||||
$.get('/webGui/include/DiskList.php',{compute:all,path:'<?=$path?>',scale:'<?=$display['scale']?>',number:'<?=$display['number']?>',fill:$.cookie('ssz')},function(data){
|
||||
$.removeCookie('ssz',{path:'/'})
|
||||
|
||||
@@ -20,6 +20,7 @@ function displayShares(all) {
|
||||
if (all == 'yes') {
|
||||
$.cookie('ssz','ssz',{path:'/'});
|
||||
$('#share_list').html("<tr><td colspan='8'><div class='spinner'></div></td></tr>");
|
||||
$('div.spinner').html(unraid_logo);
|
||||
}
|
||||
$.get('/webGui/include/ShareList.php',{compute:all,path:'<?=addslashes(htmlspecialchars($path))?>',scale:'<?=$display['scale']?>',number:'<?=$display['number']?>',fill:$.cookie('ssz')},function(data){
|
||||
$.removeCookie('ssz',{path:'/'})
|
||||
|
||||
Reference in New Issue
Block a user