PHRAS-1115 - fix lightbox mobile events handling

This commit is contained in:
Florian BLOUET
2016-05-20 15:04:38 +02:00
parent ec1c8e00c9
commit 2ce7b23a00
2 changed files with 20 additions and 1 deletions

View File

@@ -5,8 +5,17 @@
{% block javascript %}
<script type="text/javascript" src="/assets/production/commons{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/production/lightbox-mobile{% if not app.debug %}.min{% endif %}.js"></script>
{% endblock %}
<script type="text/javascript">
var lightboxApp = lightboxMobileApplication.bootstrap({
lang: '{{ app.locale }}',
baseUrl: '{{ app['request'].getUriForPath('/') }}',
basePath: '{{ app.request.basePath|e('js') }}',
releasable: false
});
</script>
{% endblock %}
{% block stylesheet %}
<link type="text/css" rel="stylesheet" href="/assets/lightbox/css/lightbox-mobile{% if not app.debug %}.min{% endif %}.css" />