Problem/Motivation

For the Dismissible Alerts feature, clicking the close button does close the alert but then on page reload the alert displays again.

Steps to reproduce

Install module on Drupal 11.3.12, create an alert.

Proposed resolution

Looks like the alert_messages_read.js file does not modify the cookie to hide the alert on page reloads.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

easp created an issue.

aporie’s picture

Hi Easp,

I cannot reproduce the issue, can you provide more information?

Which version of the module are you using 1.0.x or 1.1.x?

I tested as an anonymous as well as logged in user, the cookie is correctly set and on page reload the alert is not displayed.