Skip to content

Instantly share code, notes, and snippets.

@ThomasHambach
Created January 26, 2014 08:08
Show Gist options
  • Save ThomasHambach/8629961 to your computer and use it in GitHub Desktop.
Save ThomasHambach/8629961 to your computer and use it in GitHub Desktop.
Drupal 7 GMAP multi language bubble fix
// Search for this line (on line 92 for me)
if (obj.vars.rmtcallback) {
uri = Drupal.settings.basePath + obj.vars.rmtcallback + '/' + marker.rmt;
}
// And change it to
if (obj.vars.rmtcallback) {
uri = Drupal.settings.basePath + Drupal.settings.pathPrefix + obj.vars.rmtcallback + '/' + marker.rmt;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment