Skip to content

Commit

Permalink
Fix: actions.js error thrown in js console (#1397)
Browse files Browse the repository at this point in the history
* Fix #1377

* Fix: Avoid actions.js of django admin to throw an error on js console
  • Loading branch information
fsbraun authored Jul 21, 2023
1 parent 3cac8a4 commit 62a843a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filer/templates/admin/filer/folder/directory_listing.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h2>&nbsp;</h2>
<div id="content-main">
{% include "admin/filer/tools/search_form.html" %}
<div class="js-navigator navigator{% if not actions_on_top and not actions_on_bottom %}navigator-no-actions{% endif %}">
<form class="js-navigator-form" method="post">
<form class="js-navigator-form" method="post" id="changelist-form">
{% csrf_token %}
{% filer_admin_context_hidden_formfields %}
{% if action_form and actions_on_top and paginator.count and not is_popup %}
Expand Down

0 comments on commit 62a843a

Please sign in to comment.