{% extends "base.html.twig" %} {% block encorelinktags %} {{ encore_entry_link_tags('dropzone') }} {% endblock encorelinktags %} {% block body %} Annuler
{% endblock %} {% block encorescripttags %} {{ encore_entry_script_tags('dropzone') }} {% endblock %} {% block localjavascript %} function dropzoneinit( elt ) { } function dropzonesuccess( file, response ) { parent.$("#config_value").val(response["file"]); parent.$("#config_value_img").attr("src","/{{ appAlias }}/uploads/logo/"+response["file"]); } function dropzonequeuecomplete(file) { closeModal(); } function closeModal() { window.parent.$("#extraLargeModal").modal('hide'); } {% endblock %}