-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert button not working in Typo3 11 #8
Comments
Hi @tomashavner thanks for reporting; I will check it and release a new version if I could fix it. |
Hi, If you replace
paste_reference/Resources/Public/JavaScript/PasteReferenceOnReady.js will work. Kind regards Tomas |
Hi thanks, I checked your changes, but there is still a problem: |
Hi, |
Thanks, I updated the script and tested it successfull. Released new version 2.0.2 of the extension. |
Summary / Description
In Typo3 11, when you click the insert button (button with arrow) in page view and choose a content element, nothing happens.
Version
2.0.1
Steps to reproduce
In Typo3 11, when you click the insert button (button with arrow) in page view and choose a content element, nothing happens.
Expected behaviour
Dialog to copy or insert reference.
Actual behavior
Nothing happens.
Additional
Possible fix
paste_reference/Resources/Public/JavaScript/PasteReferenceOnReady.js line 145 ff uses setFormValueFromBrowseWin, which does not exist in Typo3 11. Replace with:
require(['TYPO3/CMS/Backend/Utility/MessageUtility'], function (MessageUtility) {
window.addEventListener('message', function (e) {
etc
Miscellaneous
The text was updated successfully, but these errors were encountered: