[BUGFIX] Make EXT:form wizard work again 62/34762/2
authorBenjamin Mack <benni@typo3.org>
Sat, 29 Nov 2014 11:44:02 +0000 (12:44 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 29 Nov 2014 13:58:57 +0000 (14:58 +0100)
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

index dffabb4..63193a2 100644 (file)
@@ -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/';