Skip to content
Snippets Groups Projects
Commit 52794e96 authored by Brandon Bergren's avatar Brandon Bergren
Browse files

Fix thirdparty inclusion order.

parent 18f43605
No related branches found
No related tags found
No related merge requests found
......@@ -283,10 +283,10 @@ function _gmap_base_js() {
// @@@TODO Need to allow multiple inclusion and have marker manager set at the map level.
$mm = variable_get('gmap_mm_type', 'gmap');
$mms = variable_get('gmap_markermanager', array());
$ret[$path . '/js/' . $mm . '_marker.js'] = array('weight' => 3);
if (isset($mms[$mm]['filename'])) {
$ret[$path . '/thirdparty/' . $mms[$mm]['filename']] = array('weight' => 4);
$ret[$path . '/thirdparty/' . $mms[$mm]['filename']] = array('weight' => 3);
}
$ret[$path . '/js/' . $mm . '_marker.js'] = array('weight' => 4);
/*
drupal_add_js(array('gmap_markermanager' => $mms[$mm]), 'setting');
*/
......
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