Updated Branches: refs/heads/master 5133812c8 -> 9f38614eb
CLOUDSTACK-999: UI > Register Template > when hypervisor is selected as "Hyperv", format dropdown will have "VHD" option. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9f38614e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9f38614e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9f38614e Branch: refs/heads/master Commit: 9f38614eb8eb48824d53d4e47abe4a1a381a5acb Parents: 5133812 Author: Jessica Wang <[email protected]> Authored: Wed Oct 23 13:18:18 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Wed Oct 23 13:18:18 2013 -0700 ---------------------------------------------------------------------- ui/scripts/templates.js | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9f38614e/ui/scripts/templates.js ---------------------------------------------------------------------- diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index 2fedd98..922c87e 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -379,6 +379,11 @@ id: 'TAR', description: 'TAR' }); + } else if (args.hypervisor == "Hyperv") { + items.push({ + id: 'VHD', + description: 'VHD' + }); } args.response.success({ data: items
