From 3791136dcea7146c0290d47a0b5ee58ec81c5522 Mon Sep 17 00:00:00 2001 From: seshukm Date: Tue, 4 Apr 2017 15:40:52 +0530 Subject: Issues with service template loading IssueID : CLIENT-189 Change-Id: I032f5f7bdd7c4922e552810908e5ac6f7b18a0cd Signed-off-by: seshukm --- lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lifecyclemgr/src') diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js index 78233c77..77d3f1ff 100644 --- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js +++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js @@ -373,7 +373,7 @@ var app = angular.module("lcApp", ["ui.router", "ngTable"])/*, 'ui.bootstrap', ' $scope.lctemplateErr = true; } $scope.validatedropdown = function (value){ - if($scope.lifecycleData.optSelect) { + if($scope.lifecycleData.optSelect || $("#svcTempl").val()) { $scope.lcdropdownErr = false; } else @@ -382,7 +382,9 @@ var app = angular.module("lcApp", ["ui.router", "ngTable"])/*, 'ui.bootstrap', ' $scope.templateParam = function() { - var template = $scope.lifecycleData.optSelect; + // var template = $scope.lifecycleData.optSelect; + var template ={}; + template.serviceTemplateId = $("#svcTempl").val(); var lastSelTempCreateParam = DataService.getCreateParamJsonObj(); if(template == undefined){ document.getElementById("templateParameters").innerHTML = ""; -- cgit 1.2.3-korg