aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js12
-rw-r--r--resmgr/src/main/webapp/resmgr/js/app.js8
2 files changed, 10 insertions, 10 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;
});
diff --git a/resmgr/src/main/webapp/resmgr/js/app.js b/resmgr/src/main/webapp/resmgr/js/app.js
index d3a351c3..62f78ab4 100644
--- a/resmgr/src/main/webapp/resmgr/js/app.js
+++ b/resmgr/src/main/webapp/resmgr/js/app.js
@@ -263,7 +263,7 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"])
$scope.saveData = function(id) {
if (!$scope.textboxErrName && $scope.textboxErrMe) {
var ports ={};
- ports.port=$scope.port;
+ ports.logicalTerminationPoint=$scope.port;
if(id) {
//edit data
@@ -726,7 +726,7 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"])
if (!$scope.textboxErrLocation && !$scope.textboxErrCountry && !$scope.textboxErrLatitude && !$scope.textboxErrLongitude) {
var locs = {}
- locs.loc = $scope.loc
+ locs.location = $scope.loc
if(id) {
@@ -971,7 +971,7 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"])
if (!$scope.textboxErr) {
var links ={}
- links.link= $scope.link;
+ links.topologicalLink= $scope.link;
if(id) {
@@ -1208,7 +1208,7 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"])
if (!$scope.textboxErrName && !$scope.textboxErrVersion) {
var nes = {};
- nes.ne = $scope.ne;
+ nes.managedElement = $scope.ne;
if(id) {
//edit data
console.log("Editing data.." + JSON.stringify(nes));