2015-08-27 11:02:20 +08:00
|
|
|
<% if @flag == true%>
|
2015-09-01 15:03:24 +08:00
|
|
|
$("#search_div").html('<%= escape_javascript( render :partial => 'resource_search_form',:locals => {:user=>@user,:type=>@type} ) %>');
|
|
|
|
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
|
|
|
|
$("#res_count").html(0);
|
|
|
|
$("#checkboxAll").attr('checked',false);
|
|
|
|
$("#res_all_count").html(<%= @atta_count%>);
|
2015-08-29 09:56:34 +08:00
|
|
|
closePopUp();
|
2015-08-27 11:02:20 +08:00
|
|
|
<% else%>
|
|
|
|
<% end %>
|