mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
PHRAS-1162_js-err-prod
fix : js error in prod template when not(app.debug) #time 1h
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
moduleId: 1,
|
||||
userId: {{app.getAuthenticatedUser().getId()}}
|
||||
},
|
||||
debug: {{ app.debug }},
|
||||
debug: {% if app.debug %}true{% else %}false{% endif %},
|
||||
initialState: "{{ initialAppState }}",
|
||||
geonameServerUrl: '{{ app['geonames.server-uri'] }}',
|
||||
geocodingProviders: {{ geocodingProviders|json_encode()|raw}},
|
||||
|
Reference in New Issue
Block a user