From 54cdab2921aea0e67dc62616d2b15f865657d7b7 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 28 Jun 2019 12:45:35 +0530 Subject: [PATCH] ui: fix for create vpc offering domain selection Signed-off-by: Abhishek Kumar --- ui/scripts/configuration.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index 4d713afa41f..7bcf719db27 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -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; } });