improve Download button for Location releases

This commit is contained in:
Bilal
2020-09-07 12:15:09 +03:00
parent a77cf9344c
commit 3694817fef
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
$("#location_releases").html("<%= j render(@location_releases) %>");
$("form input[type='search']").val("<%= params[:query] %>");
$("#location_releases_pagination").html("<%= j will_paginate(@location_releases) %>");
$("#selected_releases_form").attr('data-releasable-ids', JSON.stringify([]));
$("#total_entries").val(<%= @location_releases.total_entries %>);