summaryrefslogtreecommitdiffstats
path: root/lifecyclemgr/src
diff options
context:
space:
mode:
Diffstat (limited to 'lifecyclemgr/src')
-rw-r--r--lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js
index 77d3f1ff..f26f7109 100644
--- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js
+++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js
@@ -288,8 +288,8 @@ var app = angular.module("lcApp", ["ui.router", "ngTable"])/*, 'ui.bootstrap', '
$log.info(tmplatesResponse);
var templatesInfo = translateToTemplatesInfo(tmplatesResponse);
document.getElementById("svcTempl").innerHTML = templatesInfo;
- /* $scope.optionsValue = tmplatesResponse;
- var dropSimple_data = {
+ $scope.optionsValue = tmplatesResponse;
+ /* var dropSimple_data = {
"errmsg" : "Service template is required.",
"modalVar" : "lifecycleData.optSelect",
"labelField" : "templateName",
@@ -448,7 +448,8 @@ var app = angular.module("lcApp", ["ui.router", "ngTable"])/*, 'ui.bootstrap', '
var serviceBaseInfo = {
'name' : $scope.lifecycleData.serviceName,
'description' : $scope.lifecycleData.description,
- 'templateId' : $scope.lifecycleData.optSelect.serviceTemplateId
+ //'templateId' : $scope.lifecycleData.optSelect.serviceTemplateId
+ 'templateId' : $("#svcTempl").val()
};
//send message
$.when(DataService.createService(serviceBaseInfo))