Skip to content

Commit

Permalink
Disable menu when editing a message, fix #4788
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrammatiko authored and betweenbrain committed Oct 17, 2014
1 parent 7359bd3 commit 7b78718
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -48,6 +48,7 @@ protected function addToolbar()
{
if ($this->getLayout() == 'edit')
{
JFactory::getApplication()->input->set('hidemainmenu', true);
JToolbarHelper::title(JText::_('COM_MESSAGES_WRITE_PRIVATE_MESSAGE'), 'envelope-opened new-privatemessage');
JToolbarHelper::save('message.save', 'COM_MESSAGES_TOOLBAR_SEND');
JToolbarHelper::cancel('message.cancel');
Expand Down

0 comments on commit 7b78718

Please sign in to comment.