Sha256: 3b73ba85081cc162fd673c8ff05d354e277c55ccdc0097e298172768e956dcc5

Contents?: true

Size: 455 Bytes

Versions: 6

Compression:

Stored size: 455 Bytes

Contents

var $meetings = $('#meetings');

$meetings.html('<%= j(render partial: "meetings").strip.html_safe %>');

var $dropdownMenu = $('.dropdown.menu', $meetings);
$dropdownMenu.foundation();

var markerData = JSON.parse('<%= escape_javascript meetings_data_for_map(search.results).to_json.html_safe %>');

var $map = $("#map");
var controller = $map.data("map-controller");
if (controller) {
  controller.clearMarkers();
  controller.addMarkers(markerData);
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-meetings-0.24.3 app/views/decidim/meetings/directory/meetings/index.js.erb
decidim-meetings-0.24.2 app/views/decidim/meetings/directory/meetings/index.js.erb
decidim-meetings-0.24.1 app/views/decidim/meetings/directory/meetings/index.js.erb
decidim-meetings-0.24.0 app/views/decidim/meetings/directory/meetings/index.js.erb
decidim-meetings-0.24.0.rc2 app/views/decidim/meetings/directory/meetings/index.js.erb
decidim-meetings-0.24.0.rc1 app/views/decidim/meetings/directory/meetings/index.js.erb