mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #~: lost vars in spice Support (#4427)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
bc82dfca4f
commit
d2129359a6
@ -880,6 +880,8 @@ define(function(require) {
|
||||
function isSPICESupported(element) {
|
||||
var rtn = false;
|
||||
if(element && element.TEMPLATE && element.TEMPLATE.GRAPHICS && element.LCM_STATE){
|
||||
var graphics = element.TEMPLATE.GRAPHICS;
|
||||
var state = parseInt(element.LCM_STATE);
|
||||
rtn = graphics &&
|
||||
graphics.TYPE &&
|
||||
graphics.TYPE.toLowerCase() == "spice" &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user