Modify

Ticket #277 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

Provide a "noreorder" argument

Reported by: ilias@… Owned by: moschny
Priority: normal Milestone:
Component: trac.tracnav Version:
Severity: normal Keywords:
Cc:

Description

from TracNav: "Since r3088, TracNav knows the nocollapse argument, which prevents the TOC from being sorted or collapsed."

If would be of benefit to have a separate "noreorder" argument.

This way a user can only disable the menu from beeing reordered, thus a clicked section is not move at the top of the menu.

Attachments

Change History

comment:1 Changed 6 years ago by ilias@…

a workaround seems to be, to place a top root node (e.g. simple text "Navigation" like this:+

 *  Navigation 
  * [wiki:WikiStart Home ]
  
  * [wiki:Product Product]
   * [wiki:Product Global]
   * Basic
    * [wiki:Lang]
    * [wiki:Persist]
  * [wiki:Integration Integration]
    * [wiki:Integration Global]
    * [wiki:Stack]

if you click the sub-menu "integration", it will stay at it's position instead of beeing moved up.

if you remove the "Navigation" top entry, then "Integration" will be moved up when clicked.

comment:2 Changed 5 years ago by moschny

  • Status changed from new to closed
  • Resolution set to fixed

The noreorder option was added in r3245.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.