MantisBT: master 9dfb34b9

Author Committer Branch Timestamp Parent
dregad dregad master 2025-03-15 10:32 master 01621bbe
Affected Issues  0035552: Inline error messages are sometimes displayed behind the navbar
Changeset

Fix inline warnings showing behind navbar

Improves the delayed printing mechanism implemented in 0035207, replacing
the DELAY_INLINE_ERROR_REPORTING constant by a global variable
($g_errors_delay_reporting), allowing to switch delayed reporting on and
off as needed.

Reporting is delayed by default, and Layout API (layout_page_begin())
switches it off when the page header has been displayed.

Fixes 0035552

mod - core/error_api.php Diff File
mod - core/layout_api.php Diff File