mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-10 01:17:40 +03:00
M #-: Remove guac- rdp/ssh & VMRC mutual exclusivity (#3066)
Fixes a bug where the guacamole RDP/SSH connection buttons would not be rendered in cloud views for hypervisors where VMRC was enabled Signed-off-by: Victor Hansson <vhansson@opennebula.io> (cherry picked from commit 7b52b1af953c9c1a377006d388da4ac2beab3c0d)
This commit is contained in:
parent
cff2bb697b
commit
89987ae4e8
@ -357,16 +357,15 @@ define(function(require) {
|
||||
|
||||
if (is_fireedge_configured){
|
||||
$(".provision_vnc_button", context).parent().hide();
|
||||
$(".provision_guac_rdp_button", context).parent().toggle(is_rdp_allowed);
|
||||
$(".provision_guac_ssh_button", context).parent().toggle(is_ssh_allowed);
|
||||
|
||||
if (is_vmrc_allowed) {
|
||||
$(".provision_vmrc_button", context).parent().show();
|
||||
$(".provision_guac_vnc_button", context).parent().hide();
|
||||
$(".provision_guac_rdp_button", context).parent().hide();
|
||||
$(".provision_guac_ssh_button", context).parent().hide();
|
||||
}else { // Guacamole connections
|
||||
$(".provision_vmrc_button", context).parent().hide();
|
||||
$(".provision_guac_vnc_button", context).parent().show();
|
||||
$(".provision_guac_rdp_button", context).parent().toggle(is_rdp_allowed);
|
||||
$(".provision_guac_ssh_button", context).parent().toggle(is_ssh_allowed);
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user