summaryrefslogtreecommitdiff
path: root/chimere/static/main_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/static/main_map.js')
-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';