diff options
author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-23 22:34:35 +0000 |
---|---|---|
committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-23 22:34:35 +0000 |
commit | ccea45fa5494a2a89b99e0a222c16ee897884b09 (patch) | |
tree | 5bb7708cec5051ee370989c1b053a6d58459b95f /static/main_map.js | |
parent | a8bdd41fd72ec1bfd4d1632274f0bc30e57fb00c (diff) | |
download | Chimère-ccea45fa5494a2a89b99e0a222c16ee897884b09.tar.bz2 Chimère-ccea45fa5494a2a89b99e0a222c16ee897884b09.zip |
Modification of hard link to manage then in settings. Correction of false submission of route.
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@26 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'static/main_map.js')
-rw-r--r-- | static/main_map.js | 6 |
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); } |