From 908dbb4aab079a0e558e591b180c370df1a2d6fe Mon Sep 17 00:00:00 2001 From: Benjamin Mack <benni@typo3.org> Date: Sat, 29 Nov 2014 12:44:02 +0100 Subject: [PATCH] [BUGFIX] Make EXT:form wizard work again Due to the general removal of prototype the EXT:form wizard does not work anymore. For now, load prototype in the wizard again. The JS for EXT:form needs to be re-written for 7 LTS of course to remove the dependency on prototypejs. Resolves: #63424 Releases: master Change-Id: Ia2b6bba19e62f3036b3cbba5676ccfce7ed5c0ae Reviewed-on: http://review.typo3.org/34762 Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com> Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> --- typo3/sysext/form/Classes/View/Wizard/WizardView.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typo3/sysext/form/Classes/View/Wizard/WizardView.php b/typo3/sysext/form/Classes/View/Wizard/WizardView.php index dffabb457b10..63193a2ec011 100644 --- a/typo3/sysext/form/Classes/View/Wizard/WizardView.php +++ b/typo3/sysext/form/Classes/View/Wizard/WizardView.php @@ -218,7 +218,8 @@ class WizardView extends \TYPO3\CMS\Form\View\Wizard\AbstractWizardView { 'Viewport/Left/Form/PostProcessors/Mail.js', 'Viewport/Left/Form/PostProcessors/Redirect.js' ); - // Load ExtJS + // Load ExtJS and prototype + $this->pageRenderer->loadPrototype(); $this->pageRenderer->loadExtJS(); // Load the wizards javascript $baseUrl = ExtensionManagementUtility::extRelPath('form') . 'Resources/Public/JavaScript/Wizard/'; -- GitLab