diff options
-rw-r--r-- | plugins/Mapstraction/MapstractionPlugin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php index 9a99d6742..2784c7083 100644 --- a/plugins/Mapstraction/MapstractionPlugin.php +++ b/plugins/Mapstraction/MapstractionPlugin.php @@ -144,6 +144,9 @@ class MapstractionPlugin extends Plugin common_path('plugins/Mapstraction/js/mxn.js'), $this->provider)); + $action->element('script', array('type' => 'text/javascript'), + sprintf('var _provider = "%s";', $this->provider)); + return true; } } |