mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
1 parent
c9a3f9bc1f
commit
871dedd49f
1 file changed
+8
@@ -327,6 +327,14 @@ define(function(require) {
|
||||
|
||||
$(".provision_rdp_button", context).toggle(Boolean(OpenNebulaVM.isConnectionSupported(data, 'rdp')));
|
||||
$(".provision_wfile_button", context).toggle(Boolean(OpenNebulaVM.isWFileSupported(data)));
|
||||
|
||||
var state = get_provision_vm_state(data);
|
||||
if (state.str === "RUNNING") {
|
||||
$('.dropdown-menu-css', context).show();
|
||||
}
|
||||
else {
|
||||
$('.dropdown-menu-css', context).hide();
|
||||
}
|
||||
|
||||
var is_vnc_allowed = OpenNebulaVM.isVNCSupported(data);
|
||||
var is_spice_allowed = OpenNebulaVM.isSPICESupported(data);
|
||||
|
||||
Reference in new issue
Block a user