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