orbit-basic/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();