mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-19 06:50:07 +03:00
feature #3011: Disable novnc button in cloud view if it's not enabled in the VM
This commit is contained in:
parent
f127a7f80c
commit
0d1a0992e5
@ -3708,6 +3708,11 @@ function setup_info_vm(context) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!enableVnc(data) && !enableSPICE(data)) {
|
||||
$(".provision_vnc_button", context).hide();
|
||||
$(".provision_vnc_button_disabled", context).hide();
|
||||
}
|
||||
|
||||
$(".provision_info_vm", context).attr("vm_id", data.ID);
|
||||
$(".provision_info_vm", context).data("vm", data);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user