summaryrefslogtreecommitdiffstats
path: root/lifecyclemgr
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-04-04 15:40:52 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-04-04 15:40:52 +0530
commit3791136dcea7146c0290d47a0b5ee58ec81c5522 (patch)
tree4acc00de542a03ef2ff781add9f7b276553b03f9 /lifecyclemgr
parent416a3ade21c5d1692259988050193f40cdbddf0b (diff)
Issues with service template loading
IssueID : CLIENT-189 Change-Id: I032f5f7bdd7c4922e552810908e5ac6f7b18a0cd Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'lifecyclemgr')
-rw-r--r--lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js6
1 files changed, 4 insertions, 2 deletions
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 = "";