summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
index 838ab3719..56ec715b5 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
@@ -241,7 +241,10 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
parameterList = parameterList.concat([ getProjectParameter() ]);
parameterList = parameterList.concat([ getOwningEntityParameter() ]);
-
+ //if service model has a pnf, add a PNF ID parameter
+ if (DataService.getPnf()) {
+ parameterList = parameterList.concat([ FIELD.PARAMETER.PNF_ID ]);
+ }
}
else {
parameterList = [ FIELD.PARAMETER.INSTANCE_NAME ];