[BUGFIX] Prevent error with DateTimePicker on IE/Edge 83/53583/2
authorErich Manser <erich.manser@avibus.eu>
Mon, 24 Jul 2017 07:15:43 +0000 (09:15 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 25 Jul 2017 14:48:00 +0000 (16:48 +0200)
Change-Id: I3ed07ead31d7f572615916be90ef4c3882360d8b
Resolves: #81729
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53583
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js

index 4438380..8c39672 100644 (file)
@@ -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
                }
        };