[FOLLOWUP][TASK] Make alt_doc.php dispatched 84/38384/3
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 31 Mar 2015 18:19:03 +0000 (20:19 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 31 Mar 2015 18:27:39 +0000 (20:27 +0200)
Fix missing JavaScript setting TYPO3.settings.FormEngine in workspaces
module.

Resolves: #65292
Releases: master
Change-Id: I171b1bdedfb6f01ece0f8b843b4abb70659f3c75
Reviewed-on: http://review.typo3.org/38384
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/workspaces/Classes/Controller/ReviewController.php

index 6b9a5d4..44f2b9b 100644 (file)
@@ -66,6 +66,7 @@ class ReviewController extends AbstractController {
                $this->pageRenderer->addInlineSetting('Workspaces', 'isLiveWorkspace', (int)$GLOBALS['BE_USER']->workspace === 0 ? TRUE : FALSE);
                $this->pageRenderer->addInlineSetting('Workspaces', 'workspaceTabs', $this->prepareWorkspaceTabs($wsList, $activeWorkspace));
                $this->pageRenderer->addInlineSetting('Workspaces', 'activeWorkspaceId', $activeWorkspace);
+               $this->pageRenderer->addInlineSetting('FormEngine', 'moduleUrl', BackendUtility::getModuleUrl('record_edit'));
                $this->view->assign('performWorkspaceSwitch', $performWorkspaceSwitch);
                $this->view->assign('workspaceList', $wsList);
                $this->view->assign('activeWorkspaceUid', $activeWorkspace);