mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-20 12:33:53 +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
d89cfe26b0
commit
f8abe298d4
@ -312,7 +312,7 @@ function doChangeSystemServiceOffering($actionLink, $detailsTab, $midmenuItem1)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data: createURL("command=listServiceOfferings&issystem=true"),
|
data: createURL("command=listServiceOfferings&issystem=true&systemvmtype=domainrouter"),
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
async: false,
|
async: false,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
@ -321,10 +321,10 @@ function doChangeSystemServiceOffering($actionLink, $detailsTab, $midmenuItem1)
|
|||||||
|
|
||||||
if (offerings != null && offerings.length > 0) {
|
if (offerings != null && offerings.length > 0) {
|
||||||
for (var i = 0; i < offerings.length; i++) {
|
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));
|
var option = $("<option value='" + offerings[i].id + "'>" + fromdb(offerings[i].name) + "</option>").data("name", fromdb(offerings[i].name));
|
||||||
offeringSelect.append(option);
|
offeringSelect.append(option);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user