Opened 15 years ago

Closed 14 years ago

#246 closed defect (fixed)


Reported by: tiger@… Owned by: hauma
Priority: normal Milestone:
Component: trac.tracnav Version: 1.00
Severity: minor Keywords: TracNav
Cc: tiger@…

Description (last modified by moschny)

I've tried to use your TracNav.2 macro within newest Trac (0.9.pre) and found problem that collapsed menu branches are not expanded on click.

 * [wiki:Subsystem/StatGate              Overview]
   * [wiki:Subsystem/StatGate/Proto       Proto]
   * [wiki:Subsystem/StatGate/Server      Server]
   * [wiki:Subsystem/StatGate/Clients     Clients]

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by tiger@…

  • Severity changed from normal to minor

I caught the point of the way you're collapsing the branch... That's not your bug I just misunderstood.

In above snapshoot I should use the same branch label as the ending of the owning wiki page name ending.

 * [wiki:Subsystem/StatGate               StatGate]
   * [wiki:Subsystem/StatGate/Proto       Proto]
   * [wiki:Subsystem/StatGate/Server      Server]
   * [wiki:Subsystem/StatGate/Clients     Clients]

Such code do works collapsing and expanding.

By the way I should mention that your navigator lacks the hilighting the current page in recent Trac. To fix it need to patch macro this way:

<     curpage = hdf.getValue('', "")
>     curpage = hdf.getValue('wiki.page_name', "")

comment:2 Changed 14 years ago by moschny

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

Applied in [3037], thanks for the patch!

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain hauma.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.