summaryrefslogtreecommitdiff
path: root/static/main_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/main_map.js')
-rw-r--r--static/main_map.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/main_map.js b/static/main_map.js
index d803025..364c18f 100644
--- a/static/main_map.js
+++ b/static/main_map.js
@@ -115,7 +115,7 @@ function zoomToArea(top, left, bottom, right){
function zoomToCategory(categorie_ids){
updateCheckedCategories();
/* 0 stand for all categories */
- var uri = "/chimere/getGeoObjects/" + categorie_ids;
+ var uri = "/" + extra_url + "getGeoObjects/" + categorie_ids;
if (display_submited) uri += "/A_S";
OpenLayers.loadURL(uri, '', this, zoomToCategoryExtent);
}
@@ -147,7 +147,7 @@ function loadGeoObjects(){
updateCheckedCategories();
/* 0 stand for all categories */
if (!checked_categories) checked_categories = '0';
- var uri = "/chimere/getGeoObjects/" + checked_categories;
+ var uri = "/" + extra_url + "getGeoObjects/" + checked_categories;
if (display_submited) uri += "/A_S";
OpenLayers.loadURL(uri, '', this, setGeoObjects);
}
@@ -271,7 +271,7 @@ var hidePopUp = function (evt) {
/* update current detail panel with an AJAX request */
function updateDetail(pk){
- var uri = "/chimere/getDetail/" + pk;
+ var uri = "/" + extra_url + "getDetail/" + pk;
OpenLayers.loadURL(uri, '', this, setDetail);
}