Fixed Admin navigation element

kick

Well-known member
Affected version
v2.2.6 Patch 1 and older
If you select the option next to the navigation item tab "Show this navigation only in design mode"
1626524308748.png

After re-editing, you will not see this checkbox, because debug data is received $navigation.debug_only
HTML:
<xf:option name="development_only" selected="$navigation.debug_only">{{
    phrase('display_this_navigation_in_development_mode_only') }}
</xf:option>
should be in admin_navigation_edit
HTML:
<xf:option name="development_only" selected="$navigation.development_only">{{
                phrase('display_this_navigation_in_development_mode_only') }}
</xf:option>
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.7).

Change log:
When editing admin navigation items, properly save the development_only value
There may be a delay before changes are rolled out to the XenForo Community.
 
Top