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
@ -6911,10 +6911,18 @@
|
|||||||
],
|
],
|
||||||
|
|
||||||
dataProvider: function(args) {
|
dataProvider: function(args) {
|
||||||
args.response.success({
|
$.ajax({
|
||||||
actionFilter: secondarystorageActionfilter,
|
url: createURL("listHosts&type=SecondaryStorage&id=" + args.context.secondarystorages[0].id),
|
||||||
data: args.context.secondarystorages[0]
|
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