[BUGFIX] Reset click events in buttons of MultiStepWizard
When the MultiStepWizard is used with additional click events bound to the next or prev button, those event got stacked as the buttons don't change per step. To fix this issue, all click events are removed after switching a step and the original click event to switch the step is bound again. Furthermore the 'savePath' for duplication of a form is now correctly set if there is only one folder available and therefore no select element present in the modal. Resolves: #91094 Releases: master Change-Id: Ic95d2222441c8e1e8cf9fb46e5e7437d4e4ed85e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64214 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Christian Eßl <indy.essl@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Eßl <indy.essl@gmail.com>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/MultiStepWizard.ts 22 additions, 11 deletions...pt/backend/Resources/Public/TypeScript/MultiStepWizard.ts
- typo3/sysext/backend/Resources/Public/JavaScript/MultiStepWizard.js 1 addition, 1 deletion...xt/backend/Resources/Public/JavaScript/MultiStepWizard.js
- typo3/sysext/form/Resources/Public/JavaScript/Backend/FormManager/ViewModel.js 2 additions, 1 deletion...ources/Public/JavaScript/Backend/FormManager/ViewModel.js
Please register or sign in to comment