Repository: cloudstack
Updated Branches:
  refs/heads/master 1b15efb5f -> d0da107b7


CLOUDSTACK-7497: UI > VM Wizard > select template > reset local variable before 
retrieving selected template object.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d0da107b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d0da107b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d0da107b

Branch: refs/heads/master
Commit: d0da107b7ff20512b2ea18bbd4bb7fa09e533eb2
Parents: 1b15efb
Author: Jessica Wang <[email protected]>
Authored: Tue Sep 16 13:20:48 2014 -0700
Committer: Jessica Wang <[email protected]>
Committed: Tue Sep 16 13:21:01 2014 -0700

----------------------------------------------------------------------
 ui/scripts/instanceWizard.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d0da107b/ui/scripts/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instanceWizard.js b/ui/scripts/instanceWizard.js
index 97a039b..2a79ef0 100644
--- a/ui/scripts/instanceWizard.js
+++ b/ui/scripts/instanceWizard.js
@@ -265,6 +265,7 @@
 
             // Step 3: Service offering
             function(args) {
+               selectedTemplateObj = null; //reset             
                 if (args.currentData["select-template"] == "select-template") {
                     if (featuredTemplateObjs != null && 
featuredTemplateObjs.length > 0) {
                         for (var i = 0; i < featuredTemplateObjs.length; i++) {

Reply via email to