Closed jeromelebleu closed 1 year ago
The following changes are made to chooser-modal.js:
chooser-modal.js
const
let
The custom _ajax_pagination_nav.html template is also replaced by wagtailadmin/shared/pagination_nav.html, and the submit button is removed.
_ajax_pagination_nav.html
wagtailadmin/shared/pagination_nav.html
This contribute to #44, I tried to limit changes in order to make those PRs easier to review.
Generic chooser viewsets are now implemented in Wagtail 4.0 and serve as the basis of the built-in choosers. https://docs.wagtail.org/en/stable/extending/generic_views.html#chooserviewset
The following changes are made to
chooser-modal.js
:const
andlet
keywords to declare variables - I guess linters and webpack environment should be shipped here at some timeThe custom
_ajax_pagination_nav.html
template is also replaced bywagtailadmin/shared/pagination_nav.html
, and the submit button is removed.This contribute to #44, I tried to limit changes in order to make those PRs easier to review.