From 490cccbe7e83874923b276eed26cc23b0db5ebb9 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 6 Jan 2023 08:09:58 +0100 Subject: Removed versionadded/changed annotations for 4.1. --- docs/ref/contrib/admin/javascript.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'docs/ref/contrib/admin/javascript.txt') diff --git a/docs/ref/contrib/admin/javascript.txt b/docs/ref/contrib/admin/javascript.txt index ce48d5ac53..9f3a5ca4f6 100644 --- a/docs/ref/contrib/admin/javascript.txt +++ b/docs/ref/contrib/admin/javascript.txt @@ -12,12 +12,6 @@ in the admin change form. The ``formset:added`` and ``formset:removed`` events allow this. ``event.detail.formsetName`` is the formset the row belongs to. For the ``formset:added`` event, ``event.target`` is the newly added row. -.. versionchanged:: 4.1 - - In older versions, the event was a ``jQuery`` event with ``$row`` and - ``formsetName`` parameters. It is now a JavaScript ``CustomEvent`` with - parameters set in ``event.detail``. - In your custom ``change_form.html`` template, extend the ``admin_change_form_document_ready`` block and add the event listener code: -- cgit v1.3