Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#12793 closed (fixed)

jQuery error if action=None in Modeladmin

Reported by: apollo13 Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords:
Cc: jezdez Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


!jQuery only get's included if admin actions aren't None, but there is still some javascript injected into the page which tries to use !jQuery:

<script type="text/javascript">
(function($) {
    $(document).ready(function($) {
        $("tr input.action-select").actions();

Change History (2)

comment:1 Changed 6 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(In [12396]) Fixed #12793 - Only use the admin actions JavaScript if not explicitly deactivated with 'actions = None' in the ModelAdmin. Thanks, Florian Apolloner.

comment:2 Changed 5 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top