mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7637: UI > fix a bug produced by 4.5 feature "template accross multiple zones" > fix it by including all properties to jsonObj.
This commit is contained in:
parent
402a3323f8
commit
59b0103a53
|
|
@ -622,15 +622,10 @@
|
|||
});
|
||||
|
||||
if (existing.length == 0) {
|
||||
itemsView.push({
|
||||
id: item.id,
|
||||
name: item.name,
|
||||
description: item.description,
|
||||
hypervisor: item.hypervisor,
|
||||
ostypeid: item.ostypeid,
|
||||
itemsView.push($.extend(item, {
|
||||
zones: item.zonename,
|
||||
zoneids: [item.zoneid]
|
||||
});
|
||||
}));
|
||||
}
|
||||
else {
|
||||
existing[0].zones = 'label.multiplezones';
|
||||
|
|
|
|||
Loading…
Reference in New Issue