From ccea45fa5494a2a89b99e0a222c16ee897884b09 Mon Sep 17 00:00:00 2001 From: etienne Date: Fri, 23 Jan 2009 22:34:35 +0000 Subject: 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 --- static/main_map.js | 6 +++--- static/styles.css | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'static') 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{ -- cgit v1.2.3