个人主页的课程和项目展开出现重复数据
This commit is contained in:
parent
96ce09ede3
commit
572ad5a162
|
@ -82,7 +82,6 @@
|
|||
<% end %>
|
||||
|
||||
<% if all_count > (page.to_i+1) * 10%>
|
||||
<input type="hidden" value="<%= page%>" id="course_page_num">
|
||||
<a class="user_navmorebox" href="javascript:void(0);" id="user_show_more_course" onclick="show_more_course('<%= user_courses4show_user_path(user.id,:page => page)%>');">
|
||||
<span class="user_icons_moreclass"></span>
|
||||
</a>
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
<% end %>
|
||||
|
||||
<% if all_count > (page.to_i+1) * 10%>
|
||||
<input type="hidden" value="<%= page%>" id="project_page_num">
|
||||
<a class="user_navmorebox" href="javascript:void(0);" id="user_show_more_project" onclick="show_more_project('<%= user_projects4show_user_path(user.id,:page => page)%>');">
|
||||
<span class="user_icons_moreclass"></span>
|
||||
</a>
|
||||
|
|
|
@ -38,7 +38,6 @@ function edit_user_introduction(url){
|
|||
function show_more_course(url){
|
||||
$.get(
|
||||
url,
|
||||
{ page: $("#course_page_num").val() },
|
||||
function (data) {
|
||||
}
|
||||
);
|
||||
|
@ -48,7 +47,6 @@ function show_more_course(url){
|
|||
function show_more_project(url){
|
||||
$.get(
|
||||
url,
|
||||
{ page: $("#project_page_num").val() },
|
||||
function (data) {
|
||||
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
function show_more_course(url){
|
||||
$.get(
|
||||
url,
|
||||
{ page: $("#course_page_num").val() },
|
||||
function (data) {
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue