mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Zone wizard UI: fix selects
Fix selects being populated twice, due to combination of async calls and non-async operations when re-selecting options in setup zone step.
This commit is contained in:
parent
e3bb5435f4
commit
e23b2ac1fd
@ -326,6 +326,7 @@
|
||||
select: function(args) {
|
||||
$.ajax({
|
||||
url: createURL('listHypervisors'),
|
||||
async: false,
|
||||
data: { listAll: true },
|
||||
success: function(json) {
|
||||
args.response.success({
|
||||
@ -375,11 +376,11 @@
|
||||
selectedNetworkOfferingHavingELB = true;
|
||||
});
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: createURL("listNetworkOfferings&state=Enabled&guestiptype=Shared"),
|
||||
dataType: "json",
|
||||
async: true,
|
||||
async: false,
|
||||
success: function(json) {
|
||||
networkOfferingObjs = json.listnetworkofferingsresponse.networkoffering;
|
||||
var availableNetworkOfferingObjs = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user