Repository: cloudstack Updated Branches: refs/heads/master 76ef987e7 -> aff3a261e
CLOUDSTACK-7892: UI > network > detailView > execute handlers attached to event 'cloudStack.module.sharedFunctions.addExtraProperties'. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aff3a261 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aff3a261 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aff3a261 Branch: refs/heads/master Commit: aff3a261e02e3318caddde8234c60a32a8d9e880 Parents: 76ef987 Author: Jessica Wang <[email protected]> Authored: Wed Nov 12 13:32:59 2014 -0800 Committer: Jessica Wang <[email protected]> Committed: Wed Nov 12 13:32:59 2014 -0800 ---------------------------------------------------------------------- ui/scripts/network.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aff3a261/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index fa39179..c27b999 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1385,7 +1385,13 @@ async: true, success: function(json) { var jsonObj = json.listnetworksresponse.network[0]; - addExtraPropertiesToGuestNetworkObject(jsonObj); + addExtraPropertiesToGuestNetworkObject(jsonObj); + + $(window).trigger('cloudStack.module.sharedFunctions.addExtraProperties', { + obj: jsonObj, + objType: "Network" + }); + args.response.success({ actionFilter: cloudStack.actionFilter.guestNetwork, data: jsonObj
