2016-01-12 16:43:40 +08:00
|
|
|
<% if (@obj_pages &&( @obj_pages.page > 1)) || (@feedback_pages && (@feedback_pages.page > 1)) %>
|
|
|
|
$("#show_more_attachments").replaceWith("<%= escape_javascript( render :partial => 'files/org_subfield_list',
|
|
|
|
:locals => {org_subfield: @org_subfield,all_attachments: @result,sort:@sort,order:@order,org_subfield_attachments:@searched_attach} )%>");
|
|
|
|
<% else %>
|
|
|
|
$("#org_subfield_list").html("<%= escape_javascript(render :partial => 'org_subfield_list',
|
|
|
|
:locals => {org_subfield: @org_subfield,all_attachments: @result,sort:@sort,order:@order,org_subfield_attachments:@searched_attach})%>");
|
2016-01-14 10:33:15 +08:00
|
|
|
$("#attachment_count").html("<%= @result.count %>");
|
2016-01-12 16:43:40 +08:00
|
|
|
<% end %>
|