In order to wrap up frontend changes sonner rather than later, some corners were cut. The plan was to avoid finding specific nodes in JS code, but rather have selectors etc in the templates.
Try searching for .closest( 'form' ) in flow-board.js, for example ;)
Here's an incomplete list of stuff that definitely needs fixing. Please help complete this list & fix the code ;)
- Error handling: FlowBoardComponent.UI.events.interactiveHandlers.apiRequest has generic error handling, but always attached the error message to $this.closest( 'form' ) - even though errors can occur without relevant forms (e.g. FlowBoardComponent.UI.events.apiHandlers.board, which has to manually attach the errors because the generic error handling assumes form...)
Version: unspecified
Severity: normal