已经结束课程点击自动回缩的问题

This commit is contained in:
yanxd 2014-02-25 09:11:33 +08:00
parent f64ea263ca
commit abec725264
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<div style="clear:both;"></div>
<p>
<%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", '', :onclick => '$("#courses_history_block").slideToggle(400);' if User.current.logged? %>
<%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", 'javascript:void(0);', :onclick => '$("#courses_history_block").slideToggle(400);' if User.current.logged? %>
</p>
<div id="courses_history_block" class="courses_history hidden" >

View File

@ -22,7 +22,7 @@
<div style="clear:both;"></div>
<p>
<%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", '', :onclick => '$("#courses_history_block").slideToggle(400); ' if User.current.logged? %>
<%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", 'javascript:void(0);', :onclick => '$("#courses_history_block").slideToggle(400); ' if User.current.logged? %>
</p>
<div id="courses_history_block" class="courses_history hidden" >