Sha256: 544746f5236ce881e511198c4671e71d394da572065c1210ee34e5bc12d4711e

Contents?: true

Size: 725 Bytes

Versions: 13

Compression:

Stored size: 725 Bytes

Contents

var $meetings = $('#meetings');
$meetings.html('<%= j(render partial: "decidim/meetings/shared/meetings", locals: { component: }).strip.html_safe %>');

var $urlCalendarUrl = $('#urlCalendarUrl');
$urlCalendarUrl.val("<%= short_url(route_name: "calendar", params: { filter: params.fetch(:filter, {}).try(:to_unsafe_hash) }) %>");

var meeting_frame = document.getElementById("meeting_frame");
meeting_frame.dataset.filteredPath = "<%= request.fullpath %>"

var $map = $("#map");
var controller = $map.data("map-controller");
if (controller) {
  var markerData = JSON.parse('<%= escape_javascript meetings_data_for_map(search.result).to_json.html_safe %>');
  controller.clearMarkers();
  controller.addMarkers(markerData);
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-meetings-0.29.1 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.4 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.29.0 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.3 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.29.0.rc4 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.29.0.rc3 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.29.0.rc2 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.29.0.rc1 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.2 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.1 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.0 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.0.rc5 app/views/decidim/meetings/shared/_index.js.erb
decidim-meetings-0.28.0.rc4 app/views/decidim/meetings/shared/_index.js.erb