summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/templates/ajax-opening-location.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locations/templates/ajax-opening-location.html')
-rw-r--r--modules-available/locations/templates/ajax-opening-location.html4
1 files 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 @@
<div class="simple-mode">
<div align="right" style="margin-bottom: 10px;">
- <a href="#" class="btn btn-default btn-sm" id="btn-show-expert">{{lang_expertMode}}</a>
+ <a href="#" class="btn btn-default btn-sm btn-show-expert">{{lang_expertMode}}</a>
</div>
<div class="clearfix"></div>
<table class="table table-condensed" style="margin-bottom:0">
@@ -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'));
}