diff -r 182f46ea5a56 -r 70dff07a76ff cms/app-client/app/components/visu-carto.js --- a/cms/app-client/app/components/visu-carto.js Thu Dec 10 17:04:51 2015 +0100 +++ b/cms/app-client/app/components/visu-carto.js Fri Dec 11 13:13:47 2015 +0100 @@ -3,8 +3,11 @@ export default Ember.Component.extend({ // storage: Ember.inject.service(), didInsertElement: function(){ + var _this = this; + console.log("maps : ", AmCharts.maps); + console.log('test: ', this.get("query")); - + this.get("query").map(item => { console.log(item.get('name')); }); @@ -120,7 +123,7 @@ if (event.mapObject.id == "backButton") { handleGoHome(); } - console.log(event.mapObject.title); + _this.sendAction('action', event.mapObject.title); } // monitor when home icon was clicked and also go to continents map