prio for startup and new overview to sort vms

This commit is contained in:
nativemad
2018-10-23 17:39:54 +02:00
parent ed5d37572e
commit f10d0e51bb
5 changed files with 88 additions and 20 deletions
+16
View File
@@ -73,3 +73,19 @@ function submitbutton(formid){
},
});
}
function arrow(dir, id){
data = "&neworder="+ dir +"&vid="+ id;
$.ajax({
type: 'POST',
url: "?rand="+ makeid(),
data: data,
success: function(response) {
if (response != "success"){
window.alert('Failure!\n' + response);
} else {
window.location.href = "";
}
},
});
}