summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/timetable.html
diff options
context:
space:
mode:
authorJannik Schönartz2017-03-21 13:52:23 +0100
committerJannik Schönartz2017-03-21 13:52:23 +0100
commit2040275191f2e808d1c721f98342506fc955ba43 (patch)
treec93515242ffe82e31c47f8554967c2a08efaa1ed /modules-available/locationinfo/templates/timetable.html
parentAdmin-panel: Redesigned config. Added helpboxes. (diff)
downloadslx-admin-2040275191f2e808d1c721f98342506fc955ba43.tar.gz
slx-admin-2040275191f2e808d1c721f98342506fc955ba43.tar.xz
slx-admin-2040275191f2e808d1c721f98342506fc955ba43.zip
Locationinfo: Added Comments to the functions.
Diffstat (limited to 'modules-available/locationinfo/templates/timetable.html')
-rw-r--r--modules-available/locationinfo/templates/timetable.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/timetable.html b/modules-available/locationinfo/templates/timetable.html
index 78d13e29..7143facd 100644
--- a/modules-available/locationinfo/templates/timetable.html
+++ b/modules-available/locationinfo/templates/timetable.html
@@ -146,6 +146,9 @@
}
});
+ /**
+ * Sets the timepicker element.
+ */
function setTimepicker() {
$('.timepicker2').timepicker({
minuteStep: 1,
@@ -157,6 +160,9 @@
});
}
+ /**
+ * Adds a new opening time to the table in expert mode.
+ */
function newOpeningTime() {
$('#lastOpenTimesTableElement').before('<tr>\
<td>\
@@ -172,7 +178,6 @@
<input type="hidden" name="days[]" value="-">\
</td>\
<td>\
- \
<div class="input-group bootstrap-timepicker">\
<span class="input-group-addon">\
<span class="glyphicon glyphicon-time"></span>\