diff --git a/Build/Resources/Public/Less/TYPO3/_main_form.less b/Build/Resources/Public/Less/TYPO3/_main_form.less index 1b09d1ed7c473586dc8f91a5ba89c85a39554d82..93cc5e2e480291a42d847174d35703f25973ec18 100644 --- a/Build/Resources/Public/Less/TYPO3/_main_form.less +++ b/Build/Resources/Public/Less/TYPO3/_main_form.less @@ -60,6 +60,19 @@ span.typo3-moduleHeader img { min-width: 2.5em; } + +// +// IE: ensure DatePicker is opened on button click +// +label { + .icon { + img { + pointer-events: none; + } + } +} + + // // Form control additions // diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js b/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js index c8d5a8b94c9759065f3cbbe1f22edf6961616540..e02a5d40342c9c4660d0a3170e926b8f56d9aaef 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js @@ -26,7 +26,7 @@ define(['jquery'], function ($) { var DateTimePicker = { options: { fieldSelector: '.t3js-datetimepicker', - format: (opener !== null && typeof opener.top.TYPO3 !== 'undefined' ? opener.top : top).TYPO3.settings.DateTimePicker.DateFormat + format: (opener != null && typeof opener.top.TYPO3 !== 'undefined' ? opener.top : top).TYPO3.settings.DateTimePicker.DateFormat } }; diff --git a/typo3/sysext/t3skin/Resources/Public/Css/backend.css b/typo3/sysext/t3skin/Resources/Public/Css/backend.css index 056403a625bcb412fe761464c7457e749939bc8a..88aef2cb6fdfe8f61420791957c4deff3a23e735 100644 --- a/typo3/sysext/t3skin/Resources/Public/Css/backend.css +++ b/typo3/sysext/t3skin/Resources/Public/Css/backend.css @@ -12186,6 +12186,9 @@ span.typo3-moduleHeader img { .input-group-addon { min-width: 2.5em; } +label .icon img { + pointer-events: none; +} .form-control { min-width: 120px; }