Skip to content
Snippets Groups Projects
Commit 4a148f7d authored by Kevin Paxman's avatar Kevin Paxman
Browse files

FDSU-1073 update Gmap + patch to make popups work https://www.drupal.org/node/2445429

parent f3a738ad
No related branches found
Tags 7.x-2.10-rc1
No related merge requests found
......@@ -1001,7 +1001,9 @@ function theme_gmap($variables) {
// Theming needs to get fixed instead..
if (isset($map['markers'])) {
foreach ($map['markers'] as $i => $marker) {
unset($map['markers'][$i]['text']);
if (isset($marker['text'])) {
$map['markers'][$i]['text'] = '<div class="gmap-popup">' . $marker['text'] . '</div>';
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment