mirror of https://github.com/apache/cloudstack.git
UI bug fix: Cannot deploy VM from ISO (#3995)
This commit is contained in:
parent
809dc33532
commit
95f58dbbdc
|
|
@ -960,14 +960,16 @@
|
|||
}
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
url: createURL("listTemplateOvfProperties&id=" + selectedTemplateObj.id),
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
ovfProps = json.listtemplateovfpropertiesresponse.ovfproperty;
|
||||
}
|
||||
});
|
||||
if (selectedTemplateObj) {
|
||||
$.ajax({
|
||||
url: createURL("listTemplateOvfProperties&id=" + selectedTemplateObj.id),
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
ovfProps = json.listtemplateovfpropertiesresponse.ovfproperty;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
var $step = $('.step.sshkeyPairs:visible');
|
||||
if (ovfProps == null || ovfProps.length === 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue