mirror of https://github.com/apache/cloudstack.git
bug 10638: cloudStack - router page - change service offering action - exclude the current service offering that router is having from service offering dropdown.
This commit is contained in:
parent
5fdb167203
commit
9612da122c
|
|
@ -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…
Reference in New Issue