mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
feature #3011: Disable novnc button in cloud view if it's not enabled in the VM
This commit is contained in:
1 parent
f127a7f80c
commit
0d1a0992e5
1 file changed
+5
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user