mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloudstack 3.0 UI - Secondary Storage page - detail view - implement Refresh button.
This commit is contained in:
parent
3ae0ecb0eb
commit
b6eae2855f
@ -6910,11 +6910,19 @@
|
||||
}
|
||||
],
|
||||
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
actionFilter: secondarystorageActionfilter,
|
||||
data: args.context.secondarystorages[0]
|
||||
});
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listHosts&type=SecondaryStorage&id=" + args.context.secondarystorages[0].id),
|
||||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
var item = json.listhostsresponse.host[0];
|
||||
args.response.success({
|
||||
actionFilter: secondarystorageActionfilter,
|
||||
data:item
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user