summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/frontend/doorsign.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/frontend/doorsign.html')
-rwxr-xr-xmodules-available/locationinfo/frontend/doorsign.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules-available/locationinfo/frontend/doorsign.html b/modules-available/locationinfo/frontend/doorsign.html
index db86a39b..80189fd8 100755
--- a/modules-available/locationinfo/frontend/doorsign.html
+++ b/modules-available/locationinfo/frontend/doorsign.html
@@ -20,6 +20,7 @@ optional:
rotation:[0-3] rotation of the roomplan
vertical:[true] only mode 1, sets the calendar above the roomplan
configupdate: Time interval the config gets updated (in minutes)
+ scaledaysauto: [true] if true it finds automaticly the daystoshow parameter depending on display size
-->
<!DOCTYPE html>
<html lang="de">
@@ -301,9 +302,9 @@ optional:
lang = json.lang;
daysToShow = parseInt(json.daystoshow);
scaleLayout = parseInt(json.scale);
- switchTime = parseInt(json.switchtime);
- queryTimeCalendar = parseInt(json.calupdate);
- queryTimeRoom = parseInt(json.roomupdate);
+ switchTime = parseInt(json.switchtime) * 1000;
+ queryTimeCalendar = parseInt(json.calupdate) * 60 * 1000;
+ queryTimeRoom = parseInt(json.roomupdate) * 1000;
rotation = parseInt(json.rotation);
if(json.scaleDaysAuto!=null) {