hook_block_info is using strings instead of constants which is causing jquerymenu blocks to get cached.

This may fix #344916: Auto-expand parent menu item(s) for active menu item comment 52.

CommentFileSizeAuthor
#1 jquerymenu-block_constants-1938518.patch456 bytesmmn

Comments

mmn’s picture

StatusFileSize
new456 bytes
pat redmond’s picture

I think this is what is causing the problem! Excellent work. This is the bug which has stopped me marking this as a stable release, so thanks for your work!!

I will add it to the next release, which will be 7.x-4.0-alpha4. If the issue disappears then we will have 7.x-4.0

swamydrupal’s picture

this patch not works for me. I tested with firefox and chrome

dimetry’s picture

I think it may be some error in patch.

Just delete excess quotes (any text editor can help) in jquerymenu.module file:

WRONG (old):
'visibility' => 'BLOCK_VISIBILITY_NOTLISTED',
'cache' => 'DRUPAL_NO_CACHE'

RIGHT (new):
'visibility' => BLOCK_VISIBILITY_NOTLISTED,
'cache' => DRUPAL_NO_CACHE

It's worked for me.

DeFr’s picture

Issue summary: View changes
Status: Needs review » Fixed

This was pushed in the module as 8d24a2 in March 2013. Marking fixed accordingly.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.