修复回复框默认展开的bug
This commit is contained in:
parent
60489bdbfd
commit
b716b60c0b
|
@ -8,7 +8,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<ul>
|
<ul>
|
||||||
<% fetch_user_leaveWord_reply.each do |reply|%>
|
<% fetch_user_leaveWord_reply(journal).each do |reply|%>
|
||||||
<li style="display: block; padding-bottom: 4px;">
|
<li style="display: block; padding-bottom: 4px;">
|
||||||
<div class="inner-right" style="float: left; height: 100%; ">
|
<div class="inner-right" style="float: left; height: 100%; ">
|
||||||
<%= image_tag url_to_avatar(reply.user), :class => "avatar-3" %>
|
<%= image_tag url_to_avatar(reply.user), :class => "avatar-3" %>
|
||||||
|
|
|
@ -35,10 +35,8 @@
|
||||||
<%= textilizable journal.notes%>
|
<%= textilizable journal.notes%>
|
||||||
</span>
|
</span>
|
||||||
<span class="font_lighter"> <%= l :label_comment_time %>: <%= format_time journal.created_on %></span>
|
<span class="font_lighter"> <%= l :label_comment_time %>: <%= format_time journal.created_on %></span>
|
||||||
<% if @user == User.current %>
|
|
||||||
<% ids = 'project_respond_form_'+ journal.id.to_s%>
|
<% ids = 'project_respond_form_'+ journal.id.to_s%>
|
||||||
<%= toggle_link l(:label_projects_feedback_respond), ids, {:focus => 'project_respond'} %>
|
<%= toggle_link l(:label_projects_feedback_respond), ids, {:focus => 'project_respond'} %>
|
||||||
<% end %>
|
|
||||||
</span>
|
</span>
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
<div id=<%= ids %> style="display: none; width: 80%; margin: auto;">
|
<div id=<%= ids %> style="display: none; width: 80%; margin: auto;">
|
||||||
|
|
Loading…
Reference in New Issue