?
avatar brianteeman
brianteeman
2 Apr 2017

``administrator/components/com_messages/layouts/toolbar/mysettings.php`
was added with #2088 by @mbabker

But the changes made in that PR to use the layout were removed in #8173` by @dgt41

So the layout is not used at all.

??

avatar brianteeman brianteeman - open - 2 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Apr 2017
avatar brianteeman brianteeman - edited - 2 Apr 2017
avatar brianteeman brianteeman - change - 2 Apr 2017
The description was changed
avatar brianteeman brianteeman - edited - 2 Apr 2017
avatar dgt41
dgt41 - comment - 2 Apr 2017

@brianteeman hathor maybe?

avatar brianteeman
brianteeman - comment - 2 Apr 2017

@dgt41 nope hathor has its own override
joomla-cms/administrator/templates/hathor/html/layouts/com_messages/toolbar/mysettings.php

avatar brianteeman
brianteeman - comment - 2 Apr 2017

@dgt41 from what i can see your pr for some reason (perhaps by accident) reverted the earlier pr that added the layout

avatar dgt41
dgt41 - comment - 2 Apr 2017

nope, the code is correct, we don't need the extra layout file just for the toolbar button (with the modal) we are doing that in the main layout (and the button in the html) as the rest of the jooma stuff

avatar brianteeman
brianteeman - comment - 2 Apr 2017

wondering why it was put in the first place then, later removed by you but
not removed from the core files

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On 2 April 2017 at 22:34, Dimitri Grammatikogianni <notifications@github.com

wrote:

nope, the code is correct, we don't need the extra layout file just for
the toolbar button (with the modal) we are doing that in the main layout
(and the button in the html) as the rest of the jooma stuff


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#15064 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8auIhNEJvbr6Pmjqjj8yGVo9e2Ssks5rsBRUgaJpZM4Mw7_w
.

--
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar dgt41
dgt41 - comment - 2 Apr 2017

The first time around was needed (mootools modal). My code just refactor this part to use the Bootstrap Modal, so probably you could blame me for leaving that useless code there...

avatar mbabker
mbabker - comment - 2 Apr 2017

The original purpose was to kill off the remaining hardcoded markup for toolbar buttons. As long that isn't lost then we're good.

avatar brianteeman
brianteeman - comment - 2 Apr 2017

Ok. In the morning i will do a pr to remove this unused file and check the other component specific layouts to see if any others are redundant and should be removed.

avatar dgt41
dgt41 - comment - 2 Apr 2017

That button now uses the popup with a url for the iframe so there is no html fragment heeded there. Maybe we should review the popup creator but that's another scope

avatar dgt41
dgt41 - comment - 2 Apr 2017

@brianteeman maybe the batch parts are also candidates...

avatar brianteeman
brianteeman - comment - 2 Apr 2017

I am not refactoring only looking at unused stuff :)

avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 2 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Priority Medium Very low
Status New Discussion
avatar brianteeman
brianteeman - comment - 3 Apr 2017

Closed see #15065

avatar brianteeman brianteeman - change - 3 Apr 2017
The description was changed
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-04-03 08:23:27
Closed_By brianteeman
avatar brianteeman brianteeman - close - 3 Apr 2017

Add a Comment

Login with GitHub to post a comment