修复当鼠标移至区域内才会显示icon

This commit is contained in:
daiao 2016-07-07 15:02:02 +08:00
parent db3056f1b1
commit c621602050
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<ul class="syllabus_leftinfo" id="all_syllabus_attr">
<ul class="syllabus_leftinfo" id="all_syllabus_attr" onmouseover="$('#signature_edit').show();" onmouseout="$('#signature_edit').hide();">
<% if User.current.logged? && (User.current == syllabus.user || User.current.admin?) %>
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);", :class => 'fr', :onclick => "show_edit_base_info();"%>
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);", :id => 'signature_edit', :class => 'fr', :onclick => "show_edit_base_info();"%>
<% end %>
<div class="cl"></div>
<li><label >创建教师:</label><span><%=syllabus.user.show_name %></span></li>