mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7601: UI > Global Settings > Baremetal Rack Configuration > populate listView by listBaremetalRct API.
This commit is contained in:
parent
acb68509f0
commit
58cb5baae4
|
|
@ -241,7 +241,10 @@
|
|||
listView: {
|
||||
id: 'baremetalRct',
|
||||
label: 'Baremetal Rack Configuration',
|
||||
fields: {
|
||||
fields: {
|
||||
id: {
|
||||
label: 'label.id'
|
||||
},
|
||||
url: {
|
||||
label: 'label.url'
|
||||
}
|
||||
|
|
@ -250,7 +253,13 @@
|
|||
var data = {};
|
||||
listViewDataProvider(args, data);
|
||||
|
||||
args.response.success({ data: [] });
|
||||
$.ajax({
|
||||
url: createURL("listBaremetalRct"),
|
||||
data: data,
|
||||
success: function(json) {
|
||||
args.response.success({ data: json.listbaremetalrctresponse.baremetalrct });
|
||||
}
|
||||
});
|
||||
},
|
||||
actions: {
|
||||
add: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue