Create Issue of the SDN controller
authorseshukm <seshu.kumar.m@huawei.com>
Tue, 25 Apr 2017 12:22:46 +0000 (17:52 +0530)
committerseshukm <seshu.kumar.m@huawei.com>
Tue, 25 Apr 2017 12:22:46 +0000 (17:52 +0530)
IssueId : CLIENT-203

Change-Id: Ic9d24da43a0d1328c3c2a91abb619560e9b543ee
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
extsys/src/main/webapp/extsys/sdncontroller/js/app.js
extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html

index 9a47d6c..ab5fedc 100644 (file)
@@ -239,6 +239,9 @@ var app = angular.module("ControllerApp", ["ui.router", "ngTable"])
             $scope.textboxErrPassword = false;\r
         }\r
         $scope.saveData = function (id) {\r
+\r
+            $scope.ext.protocol = $('#protocolDD').val();\r
+\r
             if (!$scope.textboxErrName && !$scope.textboxErrURL && !$scope.textboxErrUserName && !$scope.textboxErrPassword) {\r
                 if (id) {\r
                     //edit data\r
index 2d33610..d0bd5c1 100644 (file)
                     <div class="form-group row">\r
                         <label class="col-xs-4 col-form-label">Protocol</label>\r
                         <div id="protocol" class="col-xs-8" >\r
-                            <select id="protocolDD" class="form-control inputfield" ng-model="ne.optSelect"></select>\r
+                            <select id="protocolDD" class="form-control inputfield" ng-model="ext.protocol"></select>\r
                         </div>\r
                     </div>\r
 \r