? Failure

User tests: Successful: Unsuccessful:

avatar pmleconte
pmleconte
1 Jan 2019

Pull Request for Issue #23420 .

Summary of Changes

Moved <div id="system-messsage"> back inside <?php if....>

Testing Instructions

With your WebBrowser DevTools, check that <div id="system-message"><div> is not displayed if no system message is to be displayed

avatar pmleconte pmleconte - open - 1 Jan 2019
avatar pmleconte pmleconte - change - 1 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jan 2019
Category Layout
avatar pmleconte pmleconte - change - 1 Jan 2019
The description was changed
avatar pmleconte pmleconte - edited - 1 Jan 2019
avatar pmleconte pmleconte - change - 1 Jan 2019
Title
Update message.php
[4.0] PR #21558 moved system-message outside if(empty) in layouts/joomla/system/message.php file
avatar pmleconte pmleconte - change - 1 Jan 2019
Title
Update message.php
[4.0] PR #21558 moved system-message outside if(empty) in layouts/joomla/system/message.php file
avatar pmleconte pmleconte - edited - 1 Jan 2019
avatar bembelimen
bembelimen - comment - 1 Jan 2019

Did you check, if the JS errors (e.g. form submit in the frontend) still works? If I remember correctly, the JS messages will be injected into this div...

avatar pmleconte
pmleconte - comment - 1 Jan 2019

@bembelimen : I just put back the div where it was before pr #21558.

There is no need to display this div if no message has to be displayed. If you have an error message or a notice, it will be.

avatar Quy
Quy - comment - 15 Jun 2019

JS messages are injected in Media Manager so this will PR will not work.
To test, upload or delete a file. No alert shown.

const messageContainer = document.getElementById('system-message');

avatar joomla-cms-bot joomla-cms-bot - change - 29 Jun 2019
Closed_Date 2019-06-29 13:52:40 2019-06-29 13:52:42
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 29 Jun 2019
avatar Quy Quy - change - 29 Jun 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-06-29 13:52:40
Closed_By Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 29 Jun 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23421

avatar brianteeman
brianteeman - comment - 29 Jun 2019

Please always give a reason when you close something

avatar Quy
Quy - comment - 29 Jun 2019

I did. See my previous reply.

Add a Comment

Login with GitHub to post a comment