Fix the "Hide Sidebar" tooltip text, after changing page with sidebar already hidden.
Summary of Changes
Remove default title attribute (JHtml::tooltipText('JTOGGLE_HIDE_SIDEBAR')) in Toggle layout, as set by template.js
Testing Instructions
Go to Articles (or any admin page where there's the collapsible sidebar).
Hide the Sidebar (see the tip is now show)
Go to Categories (or any admin page where there's the collapsible sidebar)
Sidebar is still closed (expected behavior!) but if you mouseover the sidebar icon, the tooltip text is wrong (see the tip is now hide, but should be Show)
Current behavior
Tooltip text is "Hide the sidebar" (but the sidebar is hidden!)
Expected behavior
Tooltip text is "Show the sidebar" when sidebar is hidden
After Patch
After this patch, it's fixed, and tooltip text is as expected.
Took me a while to work out that you have to do something like
1) go to article manager and hide column (see the tip is now show)
2) go to category manager - the column is already hidden but the tip is still hide
I have tested this item successfully on 6a32170
Took me a while to work out that you have to do something like
1) go to article manager and hide column (see the tip is now show)
2) go to category manager - the column is already hidden but the tip is still hide
The PR fixes it
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9395.