projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d436d
)
Propagate root prefix into JaaScript environment
author
Joey Schulze
<joey@infodrom.org>
Sat, 8 Jun 2019 14:10:20 +0000
(16:10 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Sat, 8 Jun 2019 14:10:20 +0000
(16:10 +0200)
Styles/service.style
patch
|
blob
|
history
diff --git
a/Styles/service.style
b/Styles/service.style
index
3c218c8
..
8d72dc2
100644
(file)
--- a/
Styles/service.style
+++ b/
Styles/service.style
@@
-120,4
+120,7
@@
while (strlen($dir) > 1) {
require_once('<root_prefix>/future.php');
?>
+<script type="text/javascript">
+var SERVICE_ROOT = '<root_prefix>';
+</script>
</define-tag>