Skip to content

Commit

Permalink
fix: editing buttons missing in admin when file present
Browse files Browse the repository at this point in the history
Fixes #1499
  • Loading branch information
pajowu committed Dec 5, 2024
1 parent 8f7f96f commit f4c9bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filer/templates/admin/filer/widgets/admin_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</span>
</div>

<div class="js-filer-dropzone filer-dropzone{% if object %} js-object-attached{% endif %}"
<div class="js-filer-dropzone filer-dropzone{% if object %} js-object-attached image-preview-container{% endif %} "
data-url="{% url 'admin:filer-ajax_upload' %}"
data-max-files="1"
{% if max_filesize %}data-max-filesize="{{ max_filesize|safe }}"{% endif %}>
Expand Down

0 comments on commit f4c9bb7

Please sign in to comment.