mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7497: UI > VM Wizard > select template > reset local variable before retrieving selected template object.
This commit is contained in:
parent
1b15efb5f0
commit
d0da107b7f
@ -265,6 +265,7 @@
|
|||||||
|
|
||||||
// Step 3: Service offering
|
// Step 3: Service offering
|
||||||
function(args) {
|
function(args) {
|
||||||
|
selectedTemplateObj = null; //reset
|
||||||
if (args.currentData["select-template"] == "select-template") {
|
if (args.currentData["select-template"] == "select-template") {
|
||||||
if (featuredTemplateObjs != null && featuredTemplateObjs.length > 0) {
|
if (featuredTemplateObjs != null && featuredTemplateObjs.length > 0) {
|
||||||
for (var i = 0; i < featuredTemplateObjs.length; i++) {
|
for (var i = 0; i < featuredTemplateObjs.length; i++) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user