From 27cc62da7d4b93ead42dae80068d9b398ea6b50f Mon Sep 17 00:00:00 2001 From: c00149107 Date: Wed, 26 Apr 2017 17:37:33 +0800 Subject: Fix detail and resmgr issues in CMCC Fix detail and resmgr issues in CMCC Change-Id: Ic4cb0217aadd7e0ca8c124a974788386a230f319 Issue-ID:CLIENT-200 Signed-off-by: c00149107 --- resmgr/src/main/webapp/resmgr/js/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'resmgr/src/main/webapp') diff --git a/resmgr/src/main/webapp/resmgr/js/app.js b/resmgr/src/main/webapp/resmgr/js/app.js index be8f20ff..968f79af 100644 --- a/resmgr/src/main/webapp/resmgr/js/app.js +++ b/resmgr/src/main/webapp/resmgr/js/app.js @@ -1380,8 +1380,10 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"]) $("#myModal").modal({}).draggable(); } $scope.saveData = function(id) { - $scope.ne.controller = $('#medropdown').val(); - $scope.ne.siteID = $('#siteIdDropdown').val(); + $scope.ne.controllerID = []; + $scope.ne.controllerID[0] = $('#medropdown').val(); + $scope.ne.siteID = []; + $scope.ne.siteID[0] = $('#siteIdDropdown').val(); if (!$scope.textboxErrName && !$scope.textboxErrIP) { -- cgit 1.2.3-korg