--- misc/xenconsole/index.php 2012/12/02 16:30:24 1892 +++ misc/xenconsole/index.php 2012/12/03 15:01:45 1894 @@ -63,6 +63,7 @@ }); function refreshData() { + $("#logo").hide(); $.get('ajaxdata.php', function(xml) { $(xml).find('host').each(function() { var memtotal = $(this).find('memtotal').text(); @@ -119,6 +120,7 @@ vm.find('.cpu_graph').show(); vm.find('.cpu_graph').attr('src', 'usagebar.php?usage=' + cpuavg); vm.find('.cpu_graph').attr('title', cpuavg + '%'); + vm.find('.mem_graph').show(); } else { if (state == "Halted") { vm.find('.state').css("background-image", "url('gfx/vps_topred.png')"); @@ -133,7 +135,8 @@ vm.find('.mem_graph').hide(); } - }) + }); + $('#logo').show(); }); }