mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 10360: cloudStack UI - Router page - listServiceOfferings API has changed to take in new parameter "systemvmtype". Here is related UI change.
This commit is contained in:
parent
a698dbe513
commit
08b0df39f4
@ -320,7 +320,7 @@ function doChangeSystemServiceOffering($actionLink, $detailsTab, $midmenuItem1)
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
data: createURL("command=listServiceOfferings&issystem=true"),
|
||||
data: createURL("command=listServiceOfferings&issystem=true&systemvmtype=domainrouter"),
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
@ -329,10 +329,10 @@ function doChangeSystemServiceOffering($actionLink, $detailsTab, $midmenuItem1)
|
||||
|
||||
if (offerings != null && offerings.length > 0) {
|
||||
for (var i = 0; i < offerings.length; i++) {
|
||||
if(offerings[i].id != jsonObj.serviceofferingid) {
|
||||
//if(offerings[i].id != jsonObj.serviceofferingid) {
|
||||
var option = $("<option value='" + offerings[i].id + "'>" + fromdb(offerings[i].name) + "</option>").data("name", fromdb(offerings[i].name));
|
||||
offeringSelect.append(option);
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user