fix - load lightbox library

set height of lightbox iframe to 100%
This commit is contained in:
Mike Ng
2017-08-10 16:39:53 +04:00
parent c5acac8d6d
commit a93e231c1a
2 changed files with 3 additions and 12 deletions

View File

@@ -51,6 +51,9 @@ img {
.documentTips {
height: 100%;
iframe {
height: 100%;
}
}
#bottom_container {

View File

@@ -177,17 +177,5 @@
{% endif %}
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
{% endblock %}
{% block bodyJavascript %}
<script type="text/javascript">
{% if basket.getValidation() %}
var lightboxApp = lightboxApplication.bootstrap({
lang: '{{ app.locale }}',
baseUrl: '{{ app['request'].getUriForPath('/') }}',
basePath: '{{ app.request.basePath|e('js') }}',
releasable: {% if basket.getValidation().getParticipant(app.getAuthenticatedUser()).isReleasable() %}"{{ 'Do you want to send your report ?' | trans }}"{% else %}false{% endif %}
});
{% endif %}
</script>
{% endblock %}