Fix image/document chooser using `MultipleChooserPanel` within `InlinePanel`

Ensure `MultipleChooserPanel` using images or documents work when nested within an `InlinePanel` when no other choosers are in use within the model.

Fixes #11233
pull/12645/head
elhussein almasri 2024-04-29 11:05:42 +00:00 zatwierdzone przez LB (Ben Johnston)
rodzic 5837d346d9
commit cd7977ada8
4 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -28,6 +28,7 @@ Changelog
* Fix: Ensure comments are functional when editing Page models with `read_only` `Fieldpanel`s in use (Strapchay)
* Fix: Ensure the accessible labels and tooltips reflect the correct private/public status on the live link button within pages after changing the privacy (Ayaan Qadri)
* Fix: Fix empty `th` (table heading) elements that are not compliant with accessibility standards (Jai Vignesh J)
* Fix: Ensure `MultipleChooserPanel` using images or documents work when nested within an `InlinePanel` when no other choosers are in use within the model (Elhussein Almasri)
* Docs: Move the model reference page from reference/pages to the references section as it covers all Wagtail core models (Srishti Jaiswal)
* Docs: Move the panels reference page from references/pages to the references section as panels are available for any model editing, merge panels API into this page (Srishti Jaiswal)
* Docs: Move the tags documentation to standalone advanced topic, instead of being inside the reference/pages section (Srishti Jaiswal)

Wyświetl plik

@ -40,6 +40,7 @@ depth: 1
* Ensure comments are functional when editing Page models with `read_only` `Fieldpanel`s in use (Strapchay)
* Ensure the accessible labels and tooltips reflect the correct private/public status on the live link button within pages after changing the privacy (Ayaan Qadri)
* Fix empty `th` (table heading) elements that are not compliant with accessibility standards (Jai Vignesh J)
* Ensure `MultipleChooserPanel` using images or documents work when nested within an `InlinePanel` when no other choosers are in use within the model (Elhussein Almasri)
### Documentation

Wyświetl plik

@ -145,6 +145,7 @@ class BaseAdminDocumentChooser(BaseChooser):
js=[
versioned_static("wagtaildocs/js/document-chooser-modal.js"),
versioned_static("wagtaildocs/js/document-chooser.js"),
versioned_static("wagtaildocs/js/document-chooser-telepath.js"),
]
)

Wyświetl plik

@ -44,6 +44,7 @@ class AdminImageChooser(BaseChooser):
js=[
versioned_static("wagtailimages/js/image-chooser-modal.js"),
versioned_static("wagtailimages/js/image-chooser.js"),
versioned_static("wagtailimages/js/image-chooser-telepath.js"),
]
)