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:
Jessica Wang 2014-09-26 12:02:48 -07:00 committed by David Nalley
parent 2116f7dbb7
commit 354cb21109

View File

@ -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';