Skip to content

Commit

Permalink
Remove dropzone and sortable scripts from html
Browse files Browse the repository at this point in the history
  • Loading branch information
nilov committed Apr 8, 2016
1 parent 198cb40 commit f936eb7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Resources/views/Form/fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@
<span class="js-no-uploading-error-text uploading-error__text"></span>
</div>

<script src="{{ asset('bundles/glavwebuploader/js/Sortable.js') }}"></script>

<div id="previews" class="previews clearfix">
{% include uploadedFilesTpl with {'files': files} %}
</div>
Expand Down Expand Up @@ -155,8 +153,6 @@
{% endblock %}

{% block glavweb_uploader_dropzone_widget__script %}
<script src="{{ asset('bundles/glavwebuploader/js/dropzone.js') }}"></script>

<script type="text/javascript">
var previewTemplate = $('#template').html();
Expand Down Expand Up @@ -399,4 +395,4 @@
});
</script>
{% endblock %}
{% endblock %}
{% endblock %}

0 comments on commit f936eb7

Please sign in to comment.