mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
M #~: lost vars in spice Support (#4427)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit d2129359a6)
This commit is contained in:
1 parent
680617a51d
commit
8bc04399c8
1 file changed
+2
@@ -867,6 +867,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" &&
|
||||
|
||||
Reference in new issue
Block a user