Sha256: bb122156c79fe8123d52179e80ea11948a257fd3cdb6e62a141541cea9d7b14f
Contents?: true
Size: 814 Bytes
Versions: 12
Compression:
Stored size: 814 Bytes
Contents
var $meetings = $('#meetings'); var $meetingsCount = $('#meetings-count'); // make sure that calendar modal will use the updated filter values var $calendarShare = $('#calendarShare'); $calendarShare.remove(); $meetings.html('<%= j(render partial: "meetings").strip.html_safe %>'); $meetingsCount.html('<%= j(render partial: "count").strip.html_safe %>'); var $dropdownMenu = $('.dropdown.menu', $meetings); $dropdownMenu.foundation(); var markerData = JSON.parse('<%= escape_javascript meetings_data_for_map(search.result.select(&:geocoded_and_valid?)).to_json.html_safe %>'); $("#calendarShare").foundation(); // initialize export calendar on the page var $map = $("#map"); var controller = $map.data("map-controller"); if (controller) { controller.clearMarkers(); controller.addMarkers(markerData); }
Version data entries
12 entries across 12 versions & 1 rubygems