summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin/javascript.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-06 08:09:58 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commit490cccbe7e83874923b276eed26cc23b0db5ebb9 (patch)
tree12faeff64b1a0f973a9ce3535a0e8635a9dab074 /docs/ref/contrib/admin/javascript.txt
parentea92a4dc2879e084b46d9b141c0a535d536be2e6 (diff)
Removed versionadded/changed annotations for 4.1.
Diffstat (limited to 'docs/ref/contrib/admin/javascript.txt')
-rw-r--r--docs/ref/contrib/admin/javascript.txt6
1 files changed, 0 insertions, 6 deletions
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: