summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-04-25 17:52:46 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-04-25 17:52:46 +0530
commit986596936ef31566c58e00671f8e18cc372ed6a0 (patch)
tree7e4550321f217f5975c038ba51b1d417dee207dd
parent462340084508d7c79685bdb04e87bed41010a1b6 (diff)
Create Issue of the SDN controller
IssueId : CLIENT-203 Change-Id: Ic9d24da43a0d1328c3c2a91abb619560e9b543ee Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
-rw-r--r--extsys/src/main/webapp/extsys/sdncontroller/js/app.js3
-rw-r--r--extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/extsys/src/main/webapp/extsys/sdncontroller/js/app.js b/extsys/src/main/webapp/extsys/sdncontroller/js/app.js
index 9a47d6c6..ab5fedc1 100644
--- a/extsys/src/main/webapp/extsys/sdncontroller/js/app.js
+++ b/extsys/src/main/webapp/extsys/sdncontroller/js/app.js
@@ -239,6 +239,9 @@ var app = angular.module("ControllerApp", ["ui.router", "ngTable"])
$scope.textboxErrPassword = false;
}
$scope.saveData = function (id) {
+
+ $scope.ext.protocol = $('#protocolDD').val();
+
if (!$scope.textboxErrName && !$scope.textboxErrURL && !$scope.textboxErrUserName && !$scope.textboxErrPassword) {
if (id) {
//edit data
diff --git a/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html b/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html
index 2d336101..d0bd5c1c 100644
--- a/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html
+++ b/extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html
@@ -130,7 +130,7 @@
<div class="form-group row">
<label class="col-xs-4 col-form-label">Protocol</label>
<div id="protocol" class="col-xs-8" >
- <select id="protocolDD" class="form-control inputfield" ng-model="ne.optSelect"></select>
+ <select id="protocolDD" class="form-control inputfield" ng-model="ext.protocol"></select>
</div>
</div>