summaryrefslogtreecommitdiffstats
path: root/app/configuration/controllers/snmp-controller.html
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-10-05 11:24:14 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-11-02 14:02:56 +0000
commit35d18cbc34578547a291848fcf1759588727ef49 (patch)
tree8dbf78fc3c383a3b92b2625aff067654a8bdbbcd /app/configuration/controllers/snmp-controller.html
parent8751084c3a7430509a3a3c9e5c415e963f7922e4 (diff)
downloadphosphor-webui-35d18cbc34578547a291848fcf1759588727ef49.tar.gz
phosphor-webui-35d18cbc34578547a291848fcf1759588727ef49.zip
SNMP: Use lowerCamelCase for vars
Following https://google.github.io/styleguide/jsguide.html. Change-Id: Ib7704018622571cf1701d3a525dc01297bed7243 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/configuration/controllers/snmp-controller.html')
-rw-r--r--app/configuration/controllers/snmp-controller.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/configuration/controllers/snmp-controller.html b/app/configuration/controllers/snmp-controller.html
index f4b7279..e1f2bc9 100644
--- a/app/configuration/controllers/snmp-controller.html
+++ b/app/configuration/controllers/snmp-controller.html
@@ -12,11 +12,11 @@
<div class="snmp__managers" ng-repeat="manager in managers track by $index">
<div class="snmp__manager-field">
<label>SNMP Manager Server</label>
- <input class="inline" id="snmp-manager{{$index+1}}-address" ng-change="manager.update_address = true" type="text" ng-model="manager.address" ng-blur="managers[$index].address = manager.address"/>
+ <input class="inline" id="snmp-manager{{$index+1}}-address" ng-change="manager.updateAddress = true" type="text" ng-model="manager.address" ng-blur="managers[$index].address = manager.address"/>
</div>
<div class="snmp__manager-field">
<label>Port</label>
- <input class="inline" id="snmp-manager{{$index+1}}-port" type="text" ng-change="manager.update_port = true" ng-model="manager.port" ng-blur="managers[$index].port = manager.port"/>
+ <input class="inline" id="snmp-manager{{$index+1}}-port" type="text" ng-change="manager.updatePort = true" ng-model="manager.port" ng-blur="managers[$index].port = manager.port"/>
</div>
<button class="snmp__manager-remove" ng-click="removeSNMPManager($index)">Remove</button>
</div>
OpenPOWER on IntegriCloud