Block title shows when there are no links available in the menu

k3rn3l - March 20, 2009 - 14:36
Project:JQuery menu
Version:6.x-2.3
Component:User interface
Category:bug report
Priority:minor
Assigned:Unassigned
Status:patch (to be ported)
Description

Blog title shows when there are no links available in the menu.

Core menus seems to hide the block title when there are no links available!!!

AttachmentSize
block title - no links.JPG28.6 KB

#1

mrfelton - March 29, 2009 - 19:26

confirming the problem. Block title should not be shown if there are no items in the menu.

#2

mrfelton - March 29, 2009 - 19:34

See attached patch

AttachmentSize
jquerymenu-empty-block.patch 1.24 KB

#3

mrfelton - March 29, 2009 - 19:36

Sorry... slightly better patch.

AttachmentSize
jquerymenu-empty-block-v2.patch 1.21 KB

#4

mrfelton - March 30, 2009 - 17:03
Status:active» needs review

updating issue status

#5

gapple - May 7, 2009 - 10:33
Title:Blog title shows when there are no links available in the menu» Block title shows when there are no links available in the menu

Confirming problem.
Patch tested & working nicely.

#6

skiquel - May 12, 2009 - 15:40
Status:needs review» reviewed & tested by the community

Works great. RTBC

#7

mshepherd - August 18, 2009 - 14:03

Another patch to fix this. I already did before I found this post, so I may aswell add it here!

AttachmentSize
stop-exposing-block-when-menutree-is-empty.patch 842 bytes

#8

Aaron Hawkins - November 16, 2009 - 07:58
Status:reviewed & tested by the community» patch (to be ported)

This patch will be in the next release.

 
 

Drupal is a registered trademark of Dries Buytaert.