dev_local
SylorHuang 6 years ago
parent 7af1176280
commit b3621125d5

@ -1198,7 +1198,12 @@ end
@is_remote = true @is_remote = true
@schools_pages = Paginator.new @schools_count, @limit, @page @schools_pages = Paginator.new @schools_count, @limit, @page
@schools = paginateHelper @schools, @limit @schools = paginateHelper @schools, @limit
render :json => @schools respond_to do |format|
format.js
format.json {
render json: @schools
}
end
end end

@ -23,15 +23,6 @@
</div> </div>
<p class="clearfix" style="height: 20px;"><span class="fl lineh-20 none color-red" id="checkNotice"></span></p> <p class="clearfix" style="height: 20px;"><span class="fl lineh-20 none color-red" id="checkNotice"></span></p>
<div style="text-align:center;" class="new_expand">
<div class="pages_user_show" style="width:auto; display:inline-block;margin: 18px 0;">
<ul id="homework_pository_ref_pages">
<%= pagination_links_full @schools_pages, @schools_count, :per_page_links => false, :remote => true, :flag => true, :is_new => true %>
</ul>
<div class="cl"></div>
</div>
</div>
</div> </div>
<li class="clearfix mt10 edu-txt-center"> <li class="clearfix mt10 edu-txt-center">

Loading…
Cancel
Save