[BUGFIX] Repair EditDocumentController in FE edit scope 42/44342/7
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 28 Oct 2015 22:14:30 +0000 (23:14 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Thu, 29 Oct 2015 17:13:14 +0000 (18:13 +0100)
commit2353236287449ac5bef3ac050fcf61b07948bdaf
tree5bb1829ad5b3fdf67fc507fa91284663c55d0df9
parentf6f36d3f6175f870d0bf371aa0a6effff63ef513
[BUGFIX] Repair EditDocumentController in FE edit scope

This patch repairs the EditDocumentController when called by FE edit.
The main issue was that JavaScripts depends on global objects in ``top``
which are set by BackendController that is only called when one acts
in the fully bootstrapped backend view.

Resolves: #68819
Releases: master
Change-Id: I5635b32b3dada3a73d7534936e41cd94d3d10b56
Reviewed-on: https://review.typo3.org/44342
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Resources/Public/JavaScript/ContextHelp.js
typo3/sysext/backend/Resources/Public/JavaScript/DateTimePicker.js
typo3/sysext/feedit/Classes/FrontendEditPanel.php