metamaps--metamaps/views/explore/mapper.html.erb
2018-03-05 12:47:50 -05:00

14 lines
247 B
Text

<script>
Metamaps.currentSection = "explore";
Metamaps.currentPage = "mapper";
Metamaps.ServerData.Mapper = {
models: { @maps.to_json.html_safe },
mapperId: { params[:id] }
};
Metamaps.GlobalUI.Search.focus();
</script>