mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-7637: UI > fix a bug produced by 4.5 feature "template accross multiple zones" > fix it by including all properties to jsonObj.
(cherry picked from commit 59b0103a5325074e0e0c105a9afd2b39a5e1117b)
This commit is contained in:
parent
2116f7dbb7
commit
354cb21109
@ -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…
x
Reference in New Issue
Block a user