mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
added json checks in cloud view (#2281)
This commit is contained in:
parent
13eb030edb
commit
f4b30f26c9
@ -79,7 +79,7 @@ define(function(require){
|
||||
disks = [template_disk];
|
||||
}
|
||||
|
||||
if (opts.template_base_json) {
|
||||
if (opts.template_base_json && opts.template_base_json.VMTEMPLATE) {
|
||||
var template_base_disk = opts.template_base_json.VMTEMPLATE.TEMPLATE.DISK;
|
||||
var disks_base = [];
|
||||
if ($.isArray(template_base_disk)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user