mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4767: UI > Intances > Attach ISO action - pass zoneId to listIsos API
This commit is contained in:
parent
503fe75dc9
commit
dfc0180477
|
|
@ -825,10 +825,14 @@
|
|||
label: 'ISO',
|
||||
select: function(args) {
|
||||
var items = [];
|
||||
var map = {};
|
||||
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;
|
||||
|
|
@ -842,8 +846,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;
|
||||
|
|
@ -859,8 +867,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