summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/main_map.js6
-rw-r--r--static/styles.css3
2 files changed, 4 insertions, 5 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);
}
diff --git a/static/styles.css b/static/styles.css
index 225d537..d5ae8cf 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -127,13 +127,12 @@ opacity:0.8;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
+overflow:auto;
}
#areas ul{
margin:0;
padding:0;
-overflow:auto;
-height:180px;
}
#areas li{