mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
parent
058276c148
commit
494311499a
@ -1294,7 +1294,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