I added a css-class ("alert-message") to the p-tag which contains the alert message.
You can test it by adding a new article and after saving it successfully, the p-tag has no css.class.
Next, open the article again and remove the title. Then try to save the article. This will produce an error message which also has no css-class.
After applying the patch, repeat the steps but now the p-tag has a clss-class "alert-message".
@test The patch works for both frontend and backend. I tested it by creating articles and by trying to save an article without a title to get different produced messages (PHP and JS).
@test The patch works for both frontend and backend. I tested it by creating articles and by trying to save an article without a title to get different produced messages (PHP and JS).
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7070.