mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 14238: create network offering dialog - remove traffic type dropdown since it includes only one choice. Hardcode it in API call.
This commit is contained in:
parent
251af27a7a
commit
6558f66239
@ -1055,6 +1055,7 @@
|
||||
|
||||
networkRate: { label: 'label.network.rate' },
|
||||
|
||||
/*
|
||||
trafficType: {
|
||||
label: 'label.traffic.type', validation: { required: true },
|
||||
select: function(args) {
|
||||
@ -1065,6 +1066,7 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
guestIpType: {
|
||||
label: 'label.guest.type',
|
||||
@ -1402,7 +1404,9 @@
|
||||
|
||||
if(args.$form.find('.form-item[rel=serviceOfferingId]').css("display") == "none")
|
||||
delete inputData.serviceOfferingId;
|
||||
|
||||
|
||||
inputData['traffictype'] = 'GUEST'; //traffic type dropdown has been removed since it has only one option ('Guest'). Hardcode traffic type value here.
|
||||
|
||||
$.ajax({
|
||||
url: createURL('createNetworkOffering'),
|
||||
data: inputData,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user