Skip to content

Commit d0da107

Browse files
author
Jessica Wang
committed
CLOUDSTACK-7497: UI > VM Wizard > select template > reset local variable before retrieving selected template object.
1 parent 1b15efb commit d0da107

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/scripts/instanceWizard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@
265265

266266
// Step 3: Service offering
267267
function(args) {
268+
selectedTemplateObj = null; //reset
268269
if (args.currentData["select-template"] == "select-template") {
269270
if (featuredTemplateObjs != null && featuredTemplateObjs.length > 0) {
270271
for (var i = 0; i < featuredTemplateObjs.length; i++) {

0 commit comments

Comments
 (0)