From 9f38614eb8eb48824d53d4e47abe4a1a381a5acb Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 23 Oct 2013 13:18:18 -0700 Subject: [PATCH] CLOUDSTACK-999: UI > Register Template > when hypervisor is selected as "Hyperv", format dropdown will have "VHD" option. --- ui/scripts/templates.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index 2fedd9833db..922c87e32eb 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