From a7b1824b5afbc81f89af10794c0f85cde927fbd6 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 16 Dec 2020 15:43:28 +0100 Subject: [locations] openingtimes: fix switch to expert mode --- modules-available/locations/templates/ajax-opening-location.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules-available/locations/templates/ajax-opening-location.html b/modules-available/locations/templates/ajax-opening-location.html index 3207fcd7..9d4e6f98 100644 --- a/modules-available/locations/templates/ajax-opening-location.html +++ b/modules-available/locations/templates/ajax-opening-location.html @@ -4,7 +4,7 @@
- {{lang_expertMode}} + {{lang_expertMode}}
@@ -200,7 +200,7 @@ $loc.find('.btn-show-expert').click(function (e) { e.preventDefault(); - scheduleData = simpleToExpert(); + scheduleData = simpleToExpert($loc); for (var i = 0; i < scheduleData.length; ++i) { setTimepicker(newOpeningTime(scheduleData[i]).find('.timepicker2')); } -- cgit v1.2.3-55-g7522