Skip to content
Snippets Groups Projects
Commit 56f4777b authored by git's avatar git Committed by Andriy Podanenko
Browse files

Issue #1929544 by puppyman: Fixed for Relative Path from Root to...

Issue #1929544 by puppyman: Fixed for Relative Path from Root to gmap_markers().js to make Markers show.
parent 2c45e622
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ function gmap_gmap($op, &$map) { ...@@ -135,7 +135,7 @@ function gmap_gmap($op, &$map) {
drupal_add_js($path . 'icon.js'); drupal_add_js($path . 'icon.js');
drupal_add_js($path . 'marker.js'); drupal_add_js($path . 'marker.js');
drupal_add_js($path . 'highlight.js'); drupal_add_js($path . 'highlight.js');
drupal_add_js(variable_get('file_public_path', conf_path() . '/files') . '/js/gmap_markers.js'); drupal_add_js('/' . variable_get('file_public_path', conf_path() . '/files') . '/js/gmap_markers.js');
drupal_add_js($path . 'gmap_marker.js'); drupal_add_js($path . 'gmap_marker.js');
drupal_add_js($path . 'poly.js'); drupal_add_js($path . 'poly.js');
...@@ -349,7 +349,7 @@ function _gmap_base_js() { ...@@ -349,7 +349,7 @@ function _gmap_base_js() {
); );
} }
$ret[variable_get('file_public_path', conf_path() . '/files') . '/js/gmap_marker.js'] = array( $ret['/' . variable_get('file_public_path', conf_path() . '/files') . '/js/gmap_markers.js'] = array(
'type' => 'external', 'type' => 'external',
'weight' => 2, 'weight' => 2,
); );
......
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