Skip to content
Snippets Groups Projects
Commit f96dded6 authored by Daniel Gohlke's avatar Daniel Gohlke Committed by Oliver Bartsch
Browse files

[BUGFIX] Allow to open info modal window

The configuration top.TYPO3.settings.ShowItem.moduleUrl
must be set so that info-window.js can use it to load
the content for the modal.

Resolves: #104147
Resolves: #99467
Resolves: #99695
Releases: main, 12.4, 11.5
Change-Id: I9dcf4e04e6c87a965ddfa6d2f3044cd74759a530
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84779


Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent 35a7e470
Branches
Tags
No related merge requests found
...@@ -832,6 +832,7 @@ class EditDocumentController ...@@ -832,6 +832,7 @@ class EditDocumentController
$this->pageRenderer->getJavaScriptRenderer()->includeTaggedImports('backend.form'); $this->pageRenderer->getJavaScriptRenderer()->includeTaggedImports('backend.form');
$this->pageRenderer->addInlineLanguageLabelFile('EXT:backend/Resources/Private/Language/locallang_alt_doc.xlf'); $this->pageRenderer->addInlineLanguageLabelFile('EXT:backend/Resources/Private/Language/locallang_alt_doc.xlf');
$this->pageRenderer->addInlineSetting('ShowItem', 'moduleUrl', (string)$this->uriBuilder->buildUriFromRoute('show_item'));
$event = new AfterFormEnginePageInitializedEvent($this, $request); $event = new AfterFormEnginePageInitializedEvent($this, $request);
$this->eventDispatcher->dispatch($event); $this->eventDispatcher->dispatch($event);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment