Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Alert autodismiss not working #20186

Closed
C-Lodder opened this issue Apr 17, 2018 · 3 comments
Closed

[4.0] Alert autodismiss not working #20186

C-Lodder opened this issue Apr 17, 2018 · 3 comments

Comments

@C-Lodder
Copy link
Member

C-Lodder commented Apr 17, 2018

Steps to reproduce the issue

Add the following JS snippet somewhere:

Joomla.renderMessages({'error': ['Test message']}, '#system-message-container', true, 3000);

Expected result

This should render an error alert and auto dismiss it after 3 seconds

Actual result

The alerts isn't dismissed

@dgrammatiko I suppose the CE vendor package needs updating cause there's no reference to autodismiss in the alert.js

@dgrammatiko
Copy link
Contributor

Autodismiss will be removed as requested from the a11y team

@C-Lodder
Copy link
Member Author

Just in core, or will the whole removeMessages function be removed?

@dgrammatiko
Copy link
Contributor

also from the core.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants