summaryrefslogtreecommitdiffstats
path: root/lifecyclemgr/src
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-04-04 17:17:55 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-04-04 17:17:55 +0530
commitbd1c287e725d5cabb8aa787d52c796a64ae6c782 (patch)
treef35988c09d35674eb7a5ae547a3aef19299c8213 /lifecyclemgr/src
parent3791136dcea7146c0290d47a0b5ee58ec81c5522 (diff)
Integration issues
Integration of the Client pages to Main GUI IssueId : CLIENT-189 Change-Id: Ifda97e420f5e83ee9c299e5a1dbb2d1e94b3d1b5 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
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))