CLOUDSTACK-2413 - Display the Name of compute offering in dialog box Change Service Offering (was Description field before)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2e1877af Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2e1877af Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2e1877af Branch: refs/heads/ui-vpc-redesign Commit: 2e1877af33a49d4d18d3e024abca16b3d72dbf4e Parents: 600f140 Author: Milamber <[email protected]> Authored: Thu May 9 10:46:05 2013 +0100 Committer: Milamber <[email protected]> Committed: Thu May 9 10:50:04 2013 +0100 ---------------------------------------------------------------------- ui/scripts/instances.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2e1877af/ui/scripts/instances.js ---------------------------------------------------------------------- diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index e5d7d14..c76d843 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -934,7 +934,7 @@ var serviceofferings = json.listserviceofferingsresponse.serviceoffering; var items = []; $(serviceofferings).each(function() { - items.push({id: this.id, description: this.displaytext}); + items.push({id: this.id, description: this.name}); }); args.response.success({data: items}); }
