Closed (fixed)
Project:
Iframe
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Dec 2009 at 10:28 UTC
Updated:
17 Jan 2010 at 03:50 UTC
When rendering iframes with this module, the field's delta value is used as ID in the form of iframe-<delta>. This is fine for showing one node's many iframe fields but it breaks horribly when showing many node's iframe fields, because element IDs must be unique in (X)HTML. I have rolled a patch that makes certain each rendered iframe on a page have unique IDs by simply incrementing their ID by 1 for each field.
| Comment | File | Size | Author |
|---|---|---|---|
| iframe-unique-id.patch | 692 bytes | tobiassjosten |
Comments
Comment #1
neffets commentedComment #2
neffets commentedPatch seems ok, added it to cvs.
Old "iframe-" delta id-code will now be a class-name if you need it further for css styles as iframe-delta-ID (e.g. iframe-delta-0)