aboutsummaryrefslogtreecommitdiffstats
path: root/resmgr/src/main
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-04-26 17:37:33 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-04-26 17:37:33 +0800
commit27cc62da7d4b93ead42dae80068d9b398ea6b50f (patch)
tree0a0be5937a0b35b1317bcb3bbb83353dfe96647c /resmgr/src/main
parente070b02b3f2173cbc92d5fc8a4b88f01523d610e (diff)
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 <chenchuanyu@huawei.com>
Diffstat (limited to 'resmgr/src/main')
-rw-r--r--resmgr/src/main/webapp/resmgr/js/app.js6
1 files changed, 4 insertions, 2 deletions
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) {