summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/frontend/doorsign.html
diff options
context:
space:
mode:
authorMichael Scherle2016-11-21 06:01:13 +0100
committerMichael Scherle2016-11-21 06:01:13 +0100
commit829f882a7b2064a14633ccb516c7c29f64b3fa06 (patch)
tree0fe866c0930d86e719beba0903ffce9aa19011de /modules-available/locationinfo/frontend/doorsign.html
parentMerge remote-tracking branch 'refs/remotes/origin/location-info-panel' into l... (diff)
downloadslx-admin-829f882a7b2064a14633ccb516c7c29f64b3fa06.tar.gz
slx-admin-829f882a7b2064a14633ccb516c7c29f64b3fa06.tar.xz
slx-admin-829f882a7b2064a14633ccb516c7c29f64b3fa06.zip
fixed wrong include
Diffstat (limited to 'modules-available/locationinfo/frontend/doorsign.html')
-rwxr-xr-xmodules-available/locationinfo/frontend/doorsign.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/locationinfo/frontend/doorsign.html b/modules-available/locationinfo/frontend/doorsign.html
index 000d14d0..83c7f287 100755
--- a/modules-available/locationinfo/frontend/doorsign.html
+++ b/modules-available/locationinfo/frontend/doorsign.html
@@ -30,7 +30,7 @@ optional:
<script type='text/javascript' src='jquery-week-calendar/libs/jquery.js'></script>
<script type='text/javascript' src='jquery-week-calendar/libs/jqerryui/clientscript.js'></script>
-->
- <link rel='stylesheet' type='text/css' href='jquery-week-calendar/libs/jqerryui/style.css'/>
+ <link rel='stylesheet' type='text/css' href='../../js_jqueryui/style.css'/>
<link rel='stylesheet' type='text/css' href='jquery-week-calendar/jquery.weekcalendar.css'/>
<script type="text/javascript" src="jquery-week-calendar/libs/date.js"></script>
<script type='text/javascript' src="jquery-week-calendar/jquery.weekcalendar.js"></script>
@@ -309,7 +309,7 @@ optional:
displayFreeBusys: true,
defaultFreeBusy: {free: false}
});
- $.getJSON("../api.php?do=locationinfo&action=openingtime&id="+roomId, function (result) {
+ $.getJSON("../../../api.php?do=locationinfo&action=openingtime&id="+roomId, function (result) {
SetOpeningTimes(result)
});
}
@@ -395,6 +395,8 @@ optional:
}
var clientHeight = document.getElementById('calendar').clientHeight - document.getElementsByClassName("wc-time-column-header")[0].clientHeight - 5;
var height = clientHeight / (openTimes * $('#calendar').weekCalendar("option", "timeslotsPerHour"));
+
+
$('#calendar').weekCalendar("option", "timeslotHeight", height);
$('#calendar').weekCalendar("updateFreeBusy", openingTimesCalendar);
}