Bug 836318: Items in submenus default to visible rather than using the PageContext.
Merge pull request #751 from Mossop/bug836318

Bug 836318: Items in submenus default to visible rather than using the PageContext r=@erikvold