mirror of https://github.com/apache/cloudstack.git
bug 9878: cloudStack UI - VW Wizard - empty hypervisor dropdown before adding options.
This commit is contained in:
parent
469b704ec0
commit
506825ef69
|
|
@ -690,7 +690,7 @@ function initVMWizard() {
|
|||
async: false,
|
||||
success: function(json) {
|
||||
var items = json.listhypervisorsresponse.hypervisor;
|
||||
var $hypervisorDropdown = $("#vmiso_in_vmwizard").find("#hypervisor_select");
|
||||
var $hypervisorDropdown = $("#vmiso_in_vmwizard").find("#hypervisor_select").empty();
|
||||
var $hypervisorSpan = $("#vmiso_in_vmwizard").find("#hypervisor_span");
|
||||
if(items != null && items.length > 0) {
|
||||
if(items.length == 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue