Make return value of stopEvent consistent and the code less tempting to change

Created on 30 December 2024, 23 days ago

Problem/Motivation

πŸ“Œ Prefer to replace some of obj && obj.prop with optional chaining possibly Active introduced a random fail because it made an incorrect change to ajax.js - the reason it made the change is that it looked like it was possible when it was not.

Proposed resolution

Make stopEvent more explicit about it's expectations in the condition. This also makes the return type always a bool and never undefined.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

ajax system

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024