summaryrefslogtreecommitdiff
path: root/chimere/static
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2010-11-21 20:16:47 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2010-11-21 20:16:47 +0100
commitb0ddd6c8e2db7c33ba8c416440d1fec7a73f393c (patch)
tree1809e4fa0e6a1a5e445e5d093b637685f4932096 /chimere/static
parentbbc1a2dbed58a42c83672279d55567dad3faaea9 (diff)
parent34576994956181e457d1404b9c70a2d71434f856 (diff)
downloadChimère-b0ddd6c8e2db7c33ba8c416440d1fec7a73f393c.tar.bz2
Chimère-b0ddd6c8e2db7c33ba8c416440d1fec7a73f393c.zip
Merge branch 'master' into carte-ouverte
Diffstat (limited to 'chimere/static')
-rw-r--r--chimere/static/main_map.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/chimere/static/main_map.js b/chimere/static/main_map.js
index 808b9cd..0527a5e 100644
--- a/chimere/static/main_map.js
+++ b/chimere/static/main_map.js
@@ -245,7 +245,9 @@ function updateCategories(response){
/* load geo objects with an AJAX request */
function loadGeoObjects(){
if (!first){ updateCheckedCategories(); }
- else if (p_checked_categories){checked_categories = p_checked_categories;}
+ else if (p_checked_categories){
+ checked_categories = p_checked_categories.join('_');
+ }
first = false;
/* 0 stand for all categories */
if (!checked_categories) checked_categories = '0';