mirror of https://github.com/apache/cloudstack.git
ui: fix for create vpc offering domain selection
Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
This commit is contained in:
parent
8c4efaf6a2
commit
54cdab2921
|
|
@ -5048,6 +5048,7 @@
|
|||
var inputData = {};
|
||||
var serviceProviderMap = {};
|
||||
var serviceCapabilityIndex = 0;
|
||||
var excludedKeys = ['isPublic', 'domainId', 'zoneId', 'state', 'status', 'allocationstate']
|
||||
$.each(formData, function(key, value) {
|
||||
var serviceData = key.split('.');
|
||||
if (serviceData.length > 1) {
|
||||
|
|
@ -5075,7 +5076,7 @@
|
|||
serviceCapabilityIndex++;
|
||||
}
|
||||
|
||||
} else if (value != '') { // Normal data
|
||||
} else if (value != '' && $.inArray(key, excludedKeys) == -1) { // Normal data
|
||||
inputData[key] = value;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue