diff options
-rw-r--r-- | extsys/src/main/webapp/extsys/sdncontroller/js/app.js | 3 | ||||
-rw-r--r-- | extsys/src/main/webapp/extsys/sdncontroller/templates/controller.html | 2 |
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>
|