?
avatar Open2logic
Open2logic
18 Apr 2017

Steps to reproduce the issue

In the administrator.
Force a Warning and Mesasge notifications
screen shot 2017-04-18 at 15 52 32

Closed the Message, all go up

screen shot 2017-04-18 at 15 55 54

Closed the Warning, the zone is fixed

screen shot 2017-04-18 at 15 56 06

Expected result

All go up

Actual result

The Warning area is still fixed , after closing the message

System information (as much as possible)

Joomla 3.7 Rc2

Additional comments

avatar Open2logic Open2logic - open - 18 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Apr 2017
avatar brianteeman
brianteeman - comment - 18 Apr 2017

Please explain a real world case on how to get both those messages at the same time

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

Can't replicate this at all.

@brianteeman - Go to article manager, select some articles and unpublish them.

Or you can inject the following HTML via your inspector, directly above the main <form>

<div id="system-message-container" class="j-toggle-main span10">
	<div class="alert alert-success">
		<button type="button" class="close" data-dismiss="alert">×</button>
		<h4 class="alert-heading">Message</h4>
		<div class="alert-message">2 articles published.</div>
	</div>

	<div class="alert alert-warning">
		<button type="button" class="close" data-dismiss="alert">×</button>
		<h4 class="alert-heading">Warming</h4>
		<div class="alert-message">oops, something went wrong</div>
	</div>
</div>
avatar dgt41
dgt41 - comment - 18 Apr 2017

@C-Lodder I think this line might be a problem for some browsers
https://github.com/joomla/joomla-cms/blob/staging/media/system/js/core-uncompressed.js#L344
I propose to change it to:
messageContainer.offsetHeight = 0;

avatar Open2logic
Open2logic - comment - 18 Apr 2017

Only happens in Chrome.
Create an admin menu and one buttom,
The module for this menu, In the options: Check Menu in YES.
Now the admin show a message:
"Warning
The administrator menu Admin does not contain - Menu Manager, Module Manager, Components Container. Click to turn on the menu recovery mode."

Closed this message and the zone is fixed.
Ok for Explorer And Firefox


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15386.

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

Not sure why considering the BS2 docs work perfectly fine.

avatar dgt41
dgt41 - comment - 18 Apr 2017

@C-Lodder I don't have access to a 3.x install right now, but the problem is in Joomla.removeMessages.
Maybe messageContainer.offsetHeight = ''; or resetting the margin(s) ?

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

I'll take a look when I'm home. Have a hunch is something to do with the rubbish in template.js

avatar dgt41
dgt41 - comment - 18 Apr 2017

check also the initial commit: #5257

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

My hunch was correct. template.js

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

It's all to do with that crappy sidebar that can slide in/out, which then changes some classes to manipulate the width. Enjoy fixing.

avatar dgt41
dgt41 - comment - 18 Apr 2017

WON'T.
Let's introduce custom elements, alerts seems an easy starting point

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

Custom elements in 3.x?

avatar dgt41
dgt41 - comment - 18 Apr 2017

Oops, thought it was for 4...

avatar C-Lodder
C-Lodder - comment - 18 Apr 2017

J4 we have fixed alerts ;)

avatar dgt41
dgt41 - comment - 18 Apr 2017

In J4 we need to go away from bootscrap... ?

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2017
Status New Discussion
Build 1 3.7.0-rc2
avatar brianteeman
brianteeman - comment - 22 May 2017

Closed as a duplicate of #12155

avatar brianteeman brianteeman - change - 22 May 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-05-22 09:14:24
Closed_By brianteeman
avatar brianteeman brianteeman - close - 22 May 2017

Add a Comment

Login with GitHub to post a comment