summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/locationinfo/templates/page-config-panel-default.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html
index 86e2a520..c502db4e 100644
--- a/modules-available/locationinfo/templates/page-config-panel-default.html
+++ b/modules-available/locationinfo/templates/page-config-panel-default.html
@@ -541,6 +541,7 @@ document.addEventListener("DOMContentLoaded", function () {
$( this ).removeClass('btstrpCheckbox');
if ($( this ).attr('type') === 'range') $( this ).val(overVal ? overrides[locId][oldName] : $('#' + oldId).val());
else if ($( this ).attr('type') === 'checkbox') {
+
$( this )
.bootstrapSwitch({size: 'small'})
.on('switchChange.bootstrapSwitch', function () {
@@ -550,7 +551,9 @@ document.addEventListener("DOMContentLoaded", function () {
$('#' + substr + 'daystoshow').prop('disabled', this.checked);
}
});
- $( this ).bootstrapSwitch('state', overVal ? overrides[locId][oldName] : $('#' + oldId).val());
+
+ // $( this ).bootstrapSwitch('state', overVal ? overrides[locId][oldName] : $('#' + oldId).val());
+
}
});