mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user