Skip to content

Commit

Permalink
Closes issue #6 - Map doesn't load on v2.5 beta. Went back to using m…
Browse files Browse the repository at this point in the history
…y own JS hack to inject the base URL into the page. Seem Ushahidi removed the baseURL JS variable.
  • Loading branch information
jetherton committed Jun 28, 2012
1 parent 9286637 commit 53f183e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/embedd_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $(document).ready(function(){
adminmap_embed_count++;
if( adminmap_embed_count == 1)
{
var baseUrl = $("#base_url").text();
$.get(baseUrl + 'iframemap/setup',
function(data){
$("#map").before(data);
Expand Down

0 comments on commit 53f183e

Please sign in to comment.