Bug #88061
closedForms: jQuery UI datepicker / Comment causes "Uncaught SyntaxError: Unexpected end of input"
100%
Description
- Add datepicker to form
- Activate "Enable datepicker (needs jQuery UI)"
- Go to frontend: console says "Uncaught SyntaxError: Unexpected end of input"
See attached screenshot.
I think this error is caused by sysext/form/Classes/ViewHelpers/Form/DatePickerViewHelper.php:
//By using "backspace" or "delete", you can clear the datepicker again …
Tested with Forms 9.5.5
Files
Updated by Susanne Moog over 5 years ago
- Status changed from New to Needs Feedback
Do you have any additional compressing / minifying via extension (especially one using minifyJavaScript)? Any special settings? I cannot reproduce this with a basic TYPO3 installation - however from the code and your screenshot something is failing to minify the JS comment correctly so I'm guessing you are using an additional extension for that.
Updated by Benedikt Imminger over 5 years ago
The problem was caused by tinysource/min. I changed the settings of the extension and the issue disappeared.
Sorry, for posting a bug report which was not caused by TYPO3.
Updated by Björn Jacob over 5 years ago
- Status changed from Needs Feedback to Closed
- % Done changed from 0 to 100
Thank you for your feedback. Great that you've solved your problem. Closing this issue :)