mirror of https://github.com/apache/cloudstack.git
bug 10433: fix a bug that was caused by global zone name cache.
This commit is contained in:
parent
468136be74
commit
615af2971e
|
|
@ -110,7 +110,8 @@ function initAddIsoDialog() {
|
|||
data: createURL("command=listZones&available=true"),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
g_zoneIds = [];
|
||||
g_zoneIds = [];
|
||||
g_zoneNames = [];
|
||||
var zones = json.listzonesresponse.zone;
|
||||
if (zones != null && zones.length > 0) {
|
||||
for (var i = 0; i < zones.length; i++) {
|
||||
|
|
|
|||
|
|
@ -218,7 +218,8 @@ function afterLoadTemplateJSP() {
|
|||
data: createURL("command=listZones&available=true"),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
g_zoneIds = [];
|
||||
g_zoneIds = [];
|
||||
g_zoneNames = [];
|
||||
var zones = json.listzonesresponse.zone;
|
||||
if (zones != null && zones.length > 0) {
|
||||
for (var i = 0; i < zones.length; i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue