Skip to content

Conversation

@conseilgouz
Copy link
Contributor

@conseilgouz conseilgouz commented Jan 1, 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

@conseilgouz conseilgouz changed the title Update message.php [4.0] PR #21558 moved system-message outside if(empty) in layouts/joomla/system/message.php file Jan 1, 2019
@bembelimen
Copy link
Contributor

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...

@conseilgouz
Copy link
Contributor Author

@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.

@ghost ghost added the J4 Issue label Apr 5, 2019
@ghost ghost removed the J4 Issue label Apr 13, 2019
@Quy
Copy link
Contributor

Quy commented Jun 15, 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');

@joomla-cms-bot
Copy link

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

@brianteeman
Copy link
Contributor

Please always give a reason when you close something

@Quy
Copy link
Contributor

Quy commented Jun 29, 2019

I did. See my previous reply.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants