Add support for iframeResizer

This commit is contained in:
Raphael Michel
2018-02-04 22:42:04 +01:00
parent 16ab0d29d6
commit a5af7a70f3
4 changed files with 2168 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -8,6 +8,7 @@ src/static/fileupload/* linguist-vendored
src/static/vuejs/* linguist-vendored src/static/vuejs/* linguist-vendored
src/static/select2/* linguist-vendored src/static/select2/* linguist-vendored
src/static/charts/* linguist-vendored src/static/charts/* linguist-vendored
src/static/iframeresizer/* linguist-vendored
src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/fabric.* linguist-vendored src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/fabric.* linguist-vendored
src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/pdf.* linguist-vendored src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/pdf.* linguist-vendored

View File

@@ -70,6 +70,11 @@
{% else %} {% else %}
<script src="{% statici18n LANGUAGE_CODE %}" async></script> <script src="{% statici18n LANGUAGE_CODE %}" async></script>
{% endif %} {% endif %}
{% if request.session.iframe_session %}
{% compress js %}
<script type="text/javascript" src="{% static "iframeresizer/iframeResizer.contentWindow.js" %}"></script>
{% endcompress %}
{% endif %}
{{ html_foot|safe }} {{ html_foot|safe }}
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff