mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
(cherry picked from commit 494311499a340541c3ca374f4314fd052a6bd065)
This commit is contained in:
parent
1030286105
commit
48564099f3
@ -1286,7 +1286,8 @@ define(function(require) {
|
||||
var actionEnabled = Config.isTabActionEnabled("vms-tab", "VM.save_virt_viewer");
|
||||
var vncSupported = graphicSupported(element, "vnc");
|
||||
var spiceSupported = graphicSupported(element, "spice");
|
||||
var isKVM = history.HID ? isKVMVM(history.HID) : false;
|
||||
var hostId = history && history.HID
|
||||
var isKVM = hostId ? isKVMVM(hostId) : false;
|
||||
|
||||
return (actionEnabled && history && (vncSupported || spiceSupported) && isKVM)
|
||||
? {
|
||||
|
Loading…
x
Reference in New Issue
Block a user