temporarily disabled ARVE sensors data

This commit is contained in:
lrdossan 2024-06-11 17:35:19 +02:00
parent c9b296bd0d
commit 1215f1d7b7
2 changed files with 28 additions and 25 deletions

View file

@ -1014,13 +1014,14 @@ $(document).ready(function () {
//Check all radio buttons previously selected
$("input[type=radio]:checked").each(function() {require_fields(this)});
// TEMPORARILY DISABLED
// On CERN theme, when the arve_sensors_option changes we want to make its respective
// children show/hide.
if ($("input[type=radio][name=arve_sensors_option]").length > 0) {
$("input[type=radio][name=arve_sensors_option]").change(on_use_sensors_data_change);
// Call the function now to handle forward/back button presses in the browser.
on_use_sensors_data_change(url);
}
// if ($("input[type=radio][name=arve_sensors_option]").length > 0) {
// $("input[type=radio][name=arve_sensors_option]").change(on_use_sensors_data_change);
// // Call the function now to handle forward/back button presses in the browser.
// on_use_sensors_data_change(url);
// }
// When the ventilation_type changes we want to make its respective
// children show/hide.

View file

@ -5,6 +5,7 @@
<span class="tooltip_text">?</span>
</div>
<div class="d-none">
<div class="split">
<div>Use data from ARVE sensors:</div>
<div>
@ -29,4 +30,5 @@
<div><label>Relative Humidity: </label><span class="ml-3 font-weight-bold" id="sensor_humidity"></span></div>
</div>
</div>
</div>
{% endblock room_data %}