Index: openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl,v diff -u -r1.3.2.4 -r1.3.2.5 --- openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl 11 Apr 2016 14:20:30 -0000 1.3.2.4 +++ openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl 29 Apr 2016 17:53:52 -0000 1.3.2.5 @@ -82,7 +82,7 @@ BootstrapNavbarDropdownMenu ad_instproc render {} {doku} { # TODO: Add support for group-headers # get group header - set group 1 + set group " " html::ul -class "nav navbar-nav" { html::li -class "dropdown" { @@ -95,7 +95,9 @@ html::ul -class "dropdown-menu" { foreach dropdownmenuitem [my children] { if {[$dropdownmenuitem set group] ne "" && [$dropdownmenuitem set group] ne $group } { - html::li -class "divider" + if {$group ne " "} { + html::li -class "divider" + } set group [$dropdownmenuitem set group] } $dropdownmenuitem render