The address field handler for views should return an 'element type' of 'div' so that addresses don't get wrapped in a span element.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | location-DRUPAL-6--3_views_element_type2.patch | 554 bytes | dboulet |
| location-DRUPAL-6--3_views_element_type.patch | 763 bytes | dboulet |
Comments
Comment #1
dawehnerI think you get set "$this->definition['element type']", too
Comment #2
dboulet commented@dereine, can you please elaborate a little more on your comment?
Comment #3
dawehneryou don't have to override the method, but you could just the the element type in your data definition.
Comment #4
dboulet commentedRight, that makes sense, thanks dereine.
Does this patch look right?
Comment #5
dawehnerYes he does.
Comment #6
yesct commentedI think this is ready to be checked by a maintainer.
I wonder if looking at old issues might help.... adding a tag that might yield other issues to look at.
Comment #7
rooby commentedThanks for the patch.
Committed to 6 & 7.
http://drupal.org/cvs?commit=387912
http://drupal.org/cvs?commit=387910