diff options
authorBrandon Bergren2008-06-26 16:09:18 (GMT)
committerBrandon Bergren2008-06-26 16:09:18 (GMT)
commit56bc3f283dab7803d574e0f62de0250c47f25565 (patch)
parent5442fcf6137064b477d8a7024186e1b13f2cf99e (diff)
I accidentally changed the master map div in that last one...
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap.module b/gmap.module
index 6eda847..c1f5a9a 100644
--- a/gmap.module
+++ b/gmap.module
@@ -1104,7 +1104,7 @@ function theme_gmap($element) {
// Some markup parsers (IE) don't handle empty inners well. Use the space to let users know javascript is required.
// @@@ Bevan sez: Google static maps could be useful here.
// @@@ Bdragon sez: Yeah, would be nice, but hard to guarantee functionality. Not everyone uses the static markerloader.
- $o = '<div style="'. implode('; ', $style) .';" class="gmap-nojs-warning">'. t('Javascript is required to view this map.') .'</div>';
+ $o = '<div id="'. $element['#id'] .'" style="'. implode('; ', $style) .';"'. drupal_attributes($element['#attributes']) .'>'. t('Javascript is required to view this map.') .'</div>';
// $map can be manipulated by reference.
foreach (module_implements('gmap') as $module) {