From: seshukm Date: Mon, 3 Apr 2017 15:05:31 +0000 (+0530) Subject: Service mgr bug fix X-Git-Tag: release/mercury~55^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e9d06d2e32153000dda2a10214e81de6d56bbe0d;p=vnfsdk%2Frefrepo.git Service mgr bug fix IssueID : CLIENT-189 Change-Id: I8a07ff17a820ffd2444ad5db86835cb4feaf9223 Signed-off-by: seshukm --- diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js index 6c3dac4e..78233c77 100644 --- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js +++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js @@ -286,19 +286,19 @@ var app = angular.module("lcApp", ["ui.router", "ngTable"])/*, 'ui.bootstrap', ' .then(function (tmplatesResponse) { console.log("Data Template :: "); $log.info(tmplatesResponse); - // var templatesInfo = translateToTemplatesInfo(tmplatesResponse); - // document.getElementById("svcTempl").innerHTML = templatesInfo; - $scope.optionsValue = tmplatesResponse; + var templatesInfo = translateToTemplatesInfo(tmplatesResponse); + document.getElementById("svcTempl").innerHTML = templatesInfo; + /* $scope.optionsValue = tmplatesResponse; var dropSimple_data = { "errmsg" : "Service template is required.", "modalVar" : "lifecycleData.optSelect", "labelField" : "templateName", - "optionsValue" : JSON.stringify(tmplatesResponse), + "optionsValue" : JSON.stringify(templatesInfo), "errtag":"lcdropdownErr", "errfunc":"validatedropdown", "required":true - } - $('#myModal #plainDropDown').html($compile(Mustache.to_html(dropDown, dropSimple_data))($scope)); + }*/ + //$('#myModal #plainDropDown').html($compile(Mustache.to_html(dropDown, dropSimple_data))($scope)); }, function (reason) { $scope.error = "Error ! " + reason; });