This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/assets/index.js.erb

3 lines
281 B
Plaintext
Raw Permalink Normal View History

$("#tbody_assets").html("<%= j render :partial => 'asset', :collection => @assets %>");
$(".pagination").html("<%= j paginate @assets, :params => {:direction => params[:direction], :sort => params[:sort], :type => params[:type]}, :remote => true %>");
$( ".preview-area" ).empty();