ui: fix for create vpc offering domain selection

Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
This commit is contained in:
Abhishek Kumar 2019-06-28 12:45:35 +05:30
parent 8c4efaf6a2
commit 54cdab2921
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
});