mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
add the logging back because it broke again
This commit is contained in:
parent
1f21d0a175
commit
32f7c1eb01
2 changed files with 2 additions and 0 deletions
|
@ -377,6 +377,7 @@ def boot_order(vmid):
|
|||
user = User(session['userinfo']['preferred_username'])
|
||||
proxmox = connect_proxmox()
|
||||
if user.rtp or int(vmid) in user.allowed_vms:
|
||||
print(request.form)
|
||||
boot_order = []
|
||||
for key, value in request.form.items():
|
||||
boot_order.append(value)
|
||||
|
|
|
@ -989,6 +989,7 @@ $("#edit-boot-order").click(function(){
|
|||
for (k = 0; k < boot_order.length; k++) {
|
||||
e = document.getElementById(`boot-order-${k + 1}`);
|
||||
data.append(`${k + 1}`, e.options[e.selectedIndex].value);
|
||||
console.log(e.options[e.selectedIndex].value);
|
||||
}
|
||||
fetch(`/vm/${vmid}/boot_order`, {
|
||||
credentials: 'same-origin',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue