mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-14 18:23:14 +00:00
Fixed wrong argument for datetimechooser widget
The argument for specifying the language of the DateTimeChooser is wrong, which makes it impossible to customise the language. Compare for reference the argument specification for the DateChooser and the TimeChooser :-)
This commit is contained in:
parent
95f41fd90c
commit
9d14d4ad74
3 changed files with 7 additions and 5 deletions
|
|
@ -4,8 +4,9 @@ Changelog
|
|||
1.12.1 (xx.xx.20xx) - IN DEVELOPMENT
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Fix: Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
|
||||
* Fix: Fix regression on styling of preview button with more than one preview mode (Jack Paine)
|
||||
* Fix: Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
|
||||
* Fix: Fix regression on styling of preview button with more than one preview mode (Jack Paine)
|
||||
* Fix: Enabled translations within date-time chooser widget (Lucas Moeskops)
|
||||
|
||||
|
||||
1.12 LTS (21.08.2017)
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@ What's new
|
|||
Bug fixes
|
||||
~~~~~~~~~
|
||||
|
||||
* Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
|
||||
* Fix regression on styling of preview button with more than one preview mode (Jack Paine)
|
||||
* Prevent home page draft title from displaying as blank (Mikalai Radchuk, Matt Westcott)
|
||||
* Fix regression on styling of preview button with more than one preview mode (Jack Paine)
|
||||
* Enabled translations within date-time chooser widget (Lucas Moeskops)
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ function initDateTimeChooser(id, opts) {
|
|||
i18n: {
|
||||
lang: window.dateTimePickerTranslations
|
||||
},
|
||||
language: 'lang',
|
||||
lang: 'lang',
|
||||
onGenerate: hideCurrent
|
||||
}, opts || {}));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue