summaryrefslogtreecommitdiffstats
path: root/resmgr
diff options
context:
space:
mode:
Diffstat (limited to 'resmgr')
-rw-r--r--resmgr/src/main/webapp/resmgr/js/app.js8
1 files changed, 4 insertions, 4 deletions
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));