From 30026ee17593c8085354ce2d934450931d75f563 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 12 Nov 2014 14:54:19 -0800 Subject: [PATCH] CLOUDSTACK-7892: UI > stroage > volume > detailView > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. --- ui/scripts/storage.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index bb27ae89745..6585e1a7d79 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1537,7 +1537,13 @@ dataType: "json", async: true, success: function(json) { - var jsonObj = json.listvolumesresponse.volume[0]; + var jsonObj = json.listvolumesresponse.volume[0]; + + $(window).trigger('cloudStack.module.sharedFunctions.addExtraProperties', { + obj: jsonObj, + objType: "Volume" + }); + args.response.success({ actionFilter: volumeActionfilter, data: jsonObj