mirror of https://github.com/apache/cloudstack.git
new UI - fix a bug: curly brackets was missing.
This commit is contained in:
parent
eabad148e8
commit
0096dd03f2
|
|
@ -205,9 +205,10 @@ function diskOfferingJsonToDetailsTab() {
|
|||
async: false,
|
||||
success: function(json) {
|
||||
var items = json.listdiskofferingsresponse.diskoffering;
|
||||
if(items != null && items.length > 0)
|
||||
if(items != null && items.length > 0) {
|
||||
jsonObj = items[0];
|
||||
$midmenuItem1.data("jsonObj", jsonObj);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -214,9 +214,10 @@ function serviceOfferingJsonToDetailsTab() {
|
|||
async: false,
|
||||
success: function(json) {
|
||||
var items = json.listserviceofferingsresponse.serviceoffering;
|
||||
if(items != null && items.length > 0)
|
||||
if(items != null && items.length > 0) {
|
||||
jsonObj = items[0];
|
||||
$midmenuItem1.data("jsonObj", jsonObj);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue