mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
M #~: Fix rdp in cloud view (#154)
This commit is contained in:
parent
b98baba6c5
commit
9548fb3782
@ -329,7 +329,7 @@ define(function(require) {
|
||||
$(".provision_save_as_template_confirm_button_disabled", context).hide();
|
||||
}
|
||||
|
||||
$(".provision_rdp_button", context).toggle(Boolean(OpenNebulaVM.isConnectionSupported(element, 'rdp')));
|
||||
$(".provision_rdp_button", context).toggle(Boolean(OpenNebulaVM.isConnectionSupported(data, 'rdp')));
|
||||
$(".provision_wfile_button", context).toggle(Boolean(OpenNebulaVM.isWFileSupported(data)));
|
||||
|
||||
if (OpenNebulaVM.isVNCSupported(data) ||
|
||||
@ -759,7 +759,7 @@ define(function(require) {
|
||||
|
||||
context.on("click", ".provision_rdp_button", function() {
|
||||
var vm = $(".provision_info_vm", context).data("vm") || {};
|
||||
var rdp = OpenNebulaVM.isConnectionSupported(element, 'rdp') || {};
|
||||
var rdp = OpenNebulaVM.isConnectionSupported(vm, 'rdp') || {};
|
||||
|
||||
var username, password;
|
||||
if (vm.TEMPLATE && vm.TEMPLATE.CONTEXT) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user