summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2025-07-25 16:44:53 +0200
committerSimon Rettberg2025-07-25 16:44:53 +0200
commitbdd2d06844d1a0eb2a68235b582845c1de00229c (patch)
tree3c652a1523bed4cc78795bf3b468b9b28a8dab72 /modules-available/locationinfo/page.inc.php
parent[roomplanner] Add type annotations, change falsable -> nullable (diff)
downloadslx-admin-bdd2d06844d1a0eb2a68235b582845c1de00229c.tar.gz
slx-admin-bdd2d06844d1a0eb2a68235b582845c1de00229c.tar.xz
slx-admin-bdd2d06844d1a0eb2a68235b582845c1de00229c.zip
[locationinfo] Make sure older browsers work by using proper JavaScript
Not funny made-up words like async and let and random keyboard smashing of the "." key.
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r--modules-available/locationinfo/page.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index a6d56e5a..72c2c167 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -1010,7 +1010,8 @@ class Page_LocationInfo extends Page
}
}
- $config['config'] = json_encode($config); // Must be last, obviously
+ $config['config'] = json_encode($config); // Must come after all config options needed in JSON are set
+ $config['jsbump'] = 6; // Bump this every time you touch a JS file do ensure it gets reloaded
die(Render::parse($templateFile, $config, null, $lang));
}