Some gui bug fixes

Former-commit-id: 8e934b26bb9b4cb353cda9381a5a3be5544e86c5
This commit is contained in:
Ziver Koc 2016-01-22 20:07:49 +01:00
parent 86e041945c
commit 3343ad83db
4 changed files with 8 additions and 2 deletions

View file

@ -59,11 +59,13 @@
<table class="table table-hover table-condensed">
<thead>
<th>Type</th>
<th>Date</th>
<th>Configuration</th>
</thead>
{{#detectedSensors}}
<tr>
<td>{{.getClass().getName()}}</td>
<td>{{.getTimestamp()}}</td>
<td>{{.}}</td>
<td>
<div class="btn-toolbar pull-right">
@ -218,6 +220,7 @@
modal.find("input[name=action]").val("create_local_sensor");
modal.find("input[name=id]").val(-1);
modal.find("input[name=sync]").prop("checked", "false");
modal.find("select[name=type]").change(); // Update dynamic inputs
}
});