Skip to content

Commit

Permalink
- update ageOutTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
cklewar committed Apr 10, 2018
1 parent 3e0cf68 commit 934b08c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h2 style="text-align:right;float:right;" class="mainheader">Monitoring BGP Flow
<div class="form-group row">
<label for="inputAgeOutInterval" class="col-sm-2 col-form-label">Age out timer</label>
<div class="col-sm-3">
<input type="text" class="form-control" id="inputAgeOutInterval" value="00:03:00">
<input type="text" class="form-control" id="inputAgeOutInterval" value="0:03:00">
</div>
</div>
<p>
Expand Down
3 changes: 2 additions & 1 deletion ui/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

var pollInterval = 5000; // 1000 = 1 second, 3000 = 3 seconds
var ageOutInterval = "00:03:00" //H:M:S
var ageOutInterval = "0:03:00" //H:M:S

$(document).ready(function () {

Expand Down Expand Up @@ -506,6 +506,7 @@ function saveSettingsBtnEventHandler(){
data.password = $('#inputDevPassword').val();
data.ip = $('#inputDevIP').val();
data.age_out_interval = $('#inputAgeOutInterval').val();
ageOutInterval = $('#inputAgeOutInterval').val();
pollInterval = $('#inputPollInterval').val();

saveSettings(data);
Expand Down

0 comments on commit 934b08c

Please sign in to comment.