diff options
author | Jannik Schönartz | 2016-12-02 05:01:08 +0100 |
---|---|---|
committer | Jannik Schönartz | 2016-12-02 05:01:08 +0100 |
commit | 18942f2e247d7e195367ddf7048d071be50feef5 (patch) | |
tree | f0e96c3fb73c2c2c4e3c4a88a4b6e97695e3258f /modules-available/locationinfo/templates/config.html | |
parent | fixed daystoshow not working (diff) | |
download | slx-admin-18942f2e247d7e195367ddf7048d071be50feef5.tar.gz slx-admin-18942f2e247d7e195367ddf7048d071be50feef5.tar.xz slx-admin-18942f2e247d7e195367ddf7048d071be50feef5.zip |
locationinfo: added easymode to the opening time
Diffstat (limited to 'modules-available/locationinfo/templates/config.html')
-rw-r--r-- | modules-available/locationinfo/templates/config.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modules-available/locationinfo/templates/config.html b/modules-available/locationinfo/templates/config.html index 6df69cdc..06240e66 100644 --- a/modules-available/locationinfo/templates/config.html +++ b/modules-available/locationinfo/templates/config.html @@ -29,7 +29,7 @@ <div style="float: left; margin-left: 15px;"> <Label data-toggle="tooltip" title="{{lang_daysToShowTooltip}}">{{lang_daysToShow}}</Label><br> <select name="daystoshow"> - <option value="1" id="day1">1</opton> + <option value="1" id="day1">1</option> <option value="2" id="day2">2</option> <option value="3" id="day3">3</option> <option value="4" id="day4">4</option> @@ -134,19 +134,20 @@ function loadValues() { } function showScaleValue(newValue) { - $("#scale").text(newValue + " %"); + $("#scale").text(newValue + " %"); } function showSwitchValue(newValue) { - $("#switch").text(newValue + " " + '{{lang_sec}}'); + $("#switch").text(newValue + " " + '{{lang_sec}}'); } function vertical_cb(value) { + var cb = $("#cb_vertical"); if (value == 1) { - $("#cb_vertical").prop("disabled", false); + cb.prop("disabled", false); } else { - $("#cb_vertical").prop("disabled", true); - $("#cb_vertical").prop("checked", false); + cb.prop("disabled", true); + cb.prop("checked", false); } } </script> |