Miscellaneous updates

This commit is contained in:
bergware
2020-02-10 13:12:58 +01:00
parent 647a5cabe3
commit 7064ca30b4
4 changed files with 7 additions and 5 deletions
@@ -101,7 +101,6 @@ var sortableHelper = function(e,i){
function loadlist(init) {
$.get('/plugins/dynamix.docker.manager/include/DockerContainers.php',function(d) {
if (init) clearTimeout(timers.docker);
$('div.spinner.fixed').hide('slow');
var data = d.split(/\0/);
$('#docker_list').html(data[0]).sortable({helper:sortableHelper,items:'tr.sortable',cursor:'move',axis:'y',containment:'parent',cancel:'span.docker_readmore,input',delay:100,opacity:0.5,zIndex:9999,
update:function(e,ui){
@@ -138,6 +137,7 @@ function loadlist(init) {
if (ct.update==2) rebuild = true;
}
listview();
$('div.spinner.fixed').hide('slow');
if (data[2]==1) {$('#busy').show(); setTimeout(loadlist,5000);} else if ($('#busy').is(':visible')) {$('#busy').hide(); setTimeout(loadlist,3000);}
if (!update) $('input#updateAll').prop('disabled',true);
if (rebuild) rebuildAll();