mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7850: UI > Instances > detailView > Attach ISO option > ISO dropdown > should list only ISOs belonging to the same zone.
This commit is contained in:
parent
b532e4f52c
commit
dd326af83d
|
|
@ -973,8 +973,12 @@
|
|||
var items = [];
|
||||
var map = {};
|
||||
$.ajax({
|
||||
url: createURL("listIsos&isReady=true&isofilter=featured"),
|
||||
dataType: "json",
|
||||
url: createURL("listIsos"),
|
||||
data: {
|
||||
isofilter: 'featured',
|
||||
isReady: true,
|
||||
zoneid: args.context.instances[0].zoneid
|
||||
},
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var isos = json.listisosresponse.iso;
|
||||
|
|
@ -988,8 +992,12 @@
|
|||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: createURL("listIsos&isReady=true&isofilter=community"),
|
||||
dataType: "json",
|
||||
url: createURL("listIsos"),
|
||||
data: {
|
||||
isofilter: 'community',
|
||||
isReady: true,
|
||||
zoneid: args.context.instances[0].zoneid
|
||||
},
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var isos = json.listisosresponse.iso;
|
||||
|
|
@ -1005,8 +1013,12 @@
|
|||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: createURL("listIsos&isReady=true&isofilter=selfexecutable"),
|
||||
dataType: "json",
|
||||
url: createURL("listIsos"),
|
||||
data: {
|
||||
isofilter: 'selfexecutable',
|
||||
isReady: true,
|
||||
zoneid: args.context.instances[0].zoneid
|
||||
},
|
||||
async: false,
|
||||
success: function(json) {
|
||||
var isos = json.listisosresponse.iso;
|
||||
|
|
|
|||
Loading…
Reference in New Issue