Ignore:
Timestamp:
02/21/05 09:39:22 (8 years ago)
Author:
hauma
Message:
  • Bugfix: Do not display headlines as links, if there are entries in the corresponding submenu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trac/trunk/wiki-macros/JPNav.py

    r2724 r2725  
    146146        else: 
    147147            html += '<li>' 
    148             if name == None: 
     148            if name == None or len(sub) > 0: 
    149149                html += '<h4>%s</h4>' % title 
    150150            else: 
Note: See TracChangeset for help on using the changeset viewer.