Added user preference for VM list

Changed animation to spinning 'knob'
This commit is contained in:
bergware
2018-03-06 22:46:00 +01:00
parent 4147fd174f
commit cf7f0402d1
7 changed files with 73 additions and 18 deletions
@@ -1,6 +1,6 @@
function ajaxVMDispatch(params, reload){
var spin = typeof reload != 'undefined';
if (spin) $('#vm-'+params['uuid']).addClass('fa-spin');
if (spin) $('#vm-'+params['uuid']).find('i').addClass('fa-spin');
$.post("/plugins/dynamix.vm.manager/VMajax.php", params, function(data) {
if (data.error) {
swal({title:"Execution error",text:data.error,type:"error"});