?
avatar C-Lodder
C-Lodder
17 Apr 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

avatar C-Lodder C-Lodder - open - 17 Apr 2018
avatar joomla-cms-bot joomla-cms-bot - change - 17 Apr 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Apr 2018
avatar C-Lodder C-Lodder - change - 17 Apr 2018
The description was changed
avatar C-Lodder C-Lodder - edited - 17 Apr 2018
avatar C-Lodder C-Lodder - change - 17 Apr 2018
The description was changed
avatar C-Lodder C-Lodder - edited - 17 Apr 2018
avatar C-Lodder C-Lodder - change - 17 Apr 2018
The description was changed
avatar C-Lodder C-Lodder - edited - 17 Apr 2018
avatar dgrammatiko
dgrammatiko - comment - 17 Apr 2018

Autodismiss will be removed as requested from the a11y team

avatar C-Lodder
C-Lodder - comment - 17 Apr 2018

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

avatar dgrammatiko
dgrammatiko - comment - 17 Apr 2018

also from the core.js

avatar C-Lodder C-Lodder - change - 17 Apr 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-04-17 10:36:21
Closed_By C-Lodder
avatar C-Lodder C-Lodder - close - 17 Apr 2018

Add a Comment

Login with GitHub to post a comment