Closed (fixed)
Project:
Jump
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 21:52 UTC
Updated:
25 Sep 2009 at 18:30 UTC
Jump to comment: Most recent file
By default, blocks use the block delta as part of the block's ID attribute, but this creates IDs that are inaccessible via CSS because jump.module uses a colon (:) in the block delta. This patch fixes this problem.
Block IDs before this patch
#block-jump-menu:menu-name
After this patch
#block-jump-menu-menu-name
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | block-delta-fix.2.patch | 2.13 KB | evoltech |
| block-delta-fix.patch | 1.01 KB | joshuajabbour |
Comments
Comment #1
evoltech commentedI was able to apply this to the DRUPAL-6--1 branch and verified that it fixes the stated issue.
Comment #2
marcp commentedI think we're going to need an update function to convert jump block deltas (delta column in the blocks table) from, say "menu:navigation" to "menu-navigation" -- unless that gets done automatically (I haven't yet tested).
To test this, with 6.x-1.0, configure a jump menu block. Then, apply the patch. Does the previously configured jump menu block still work?
Comment #3
evoltech commentedWell the jumps still work, but they don't have the newly formatted classes attached to them. This patch includes changes to jump.install to upgrade existing menus created with the jump module.
Comment #4
marcp commentedThanks, evoltech. Committed with a few minor modifications. This will get into the next release along with a few other issues.