Modify

Opened 15 years ago

Closed 14 years ago

#246 closed defect (fixed)

TracNav

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.

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

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.

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

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:

158c158
<     curpage = hdf.getValue('args.page', "")
---
>     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
Action
as closed The owner will remain hauma.
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.