已经结束课程点击自动回缩的问题
This commit is contained in:
parent
f64ea263ca
commit
abec725264
|
@ -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" >
|
||||
|
|
|
@ -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" >
|
||||
|
|
Loading…
Reference in New Issue