Breaking: #101822 - Change callback interruption in
@typo3/backend/document-save-actions is used in
FormEngine and Scheduler context mainly to disable the submit button in the
according forms, where also a spinner is rendered within the button to visualize
a running action.
Over the time, the module took over some tasks that logically belong to FormEngine, which lead to slimming down the module. In a further effort, jQuery has been removed from said module, leading to a change in behavior how the callback chain can be aborted.
stopped, making changes in the callbacks necessary. All callbacks registered via
DocumentSaveActions.getInstance().addPreSubmitCallback() now need to
return a boolean value.
stop[Immediate]Propagation() on events passed into registered
callbacks is now unsupported and may lead to undefined behavior.
All extensions using
Callbacks now need to return a boolean value, where returning
abort the callback execution chain.