aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js12
1 files changed, 6 insertions, 6 deletions
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;
});