kopia lustrzana https://github.com/wagtail/wagtail
dropdown on search page by initing dropdowns on ajax success
rodzic
aefb0f9506
commit
f5f841ed59
|
@ -35,6 +35,7 @@ Changelog
|
|||
* Fix: Fixed order of URLs in project template so that static / media URLs are not blocked (Nick Smith)
|
||||
* Fix: Added verbose_name_plural for form submission model (Janneke Janssen)
|
||||
* Fix: Prevent `update_index` failures and incorrect front-end rendering on blank `TableBlock` (Carlo Ascani)
|
||||
* Fix: Dropdown initialisation on the search page after AJAX call (Eric Sherman)
|
||||
|
||||
|
||||
2.7.1 (08.01.2020)
|
||||
|
|
|
@ -427,6 +427,7 @@ Contributors
|
|||
* Benedikt Willi
|
||||
* Johannes Vogel
|
||||
* Sam Costigan
|
||||
* Eric Sherman
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -60,6 +60,7 @@ Bug fixes
|
|||
* Fixed order of URLs in project template so that static / media URLs are not blocked (Nick Smith)
|
||||
* Added verbose_name_plural for form submission model (Janneke Janssen)
|
||||
* Prevent ``update_index`` failures and incorrect front-end rendering on blank ``TableBlock`` (Carlo Ascani)
|
||||
* Dropdown initialisation on the search page after AJAX call (Eric Sherman)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -264,6 +264,7 @@ $(function() {
|
|||
}
|
||||
},
|
||||
complete: function() {
|
||||
wagtail.ui.initDropDowns();
|
||||
$inputContainer.removeClass(workingClasses);
|
||||
}
|
||||
});
|
||||
|
@ -542,7 +543,7 @@ wagtail = (function(document, window, wagtail) {
|
|||
}
|
||||
|
||||
$(document).ready(initDropDowns);
|
||||
|
||||
wagtail.ui.initDropDowns = initDropDowns;
|
||||
wagtail.ui.DropDownController = DropDownController;
|
||||
return wagtail;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue