orbit-4-2/app/views/admin/assets/index.js.erb

3 lines
281 B
Plaintext
Raw 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();