summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hofmaier2019-06-04 14:07:24 +0200
committerChristian Hofmaier2019-06-04 14:07:24 +0200
commit263d58ffe280cf0740a5c1de76721789f399a48b (patch)
tree0af3bdfca4aaaa58a5b96a66c5ecb612f0fdbc48
parent[locationinfo] fix bug override not loading correctly into edit menu (diff)
downloadslx-admin-263d58ffe280cf0740a5c1de76721789f399a48b.tar.gz
slx-admin-263d58ffe280cf0740a5c1de76721789f399a48b.tar.xz
slx-admin-263d58ffe280cf0740a5c1de76721789f399a48b.zip
[locationinfo] fix bug 'open for' without times
-rwxr-xr-xmodules-available/locationinfo/templates/frontend-default.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/templates/frontend-default.html b/modules-available/locationinfo/templates/frontend-default.html
index 7cd52094..98149bb9 100755
--- a/modules-available/locationinfo/templates/frontend-default.html
+++ b/modules-available/locationinfo/templates/frontend-default.html
@@ -1190,8 +1190,8 @@ optional:
if (newText !== false) {
room.$.currentEvent.text(newText);
}
- if (newTime !== false) {
- room.$.currentRemain.text(t("for") + " " +newTime);
+ if (newTime !== false && newTime !== '') {
+ room.$.currentRemain.text(t("for") + " " + newTime);
}
if (room.lastFreeSeats !== seats || !same) {
SetFreeSeats(room);