From de1b68c1c9aa5e498ef90111455b8c05682aebd4 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Tue, 20 Aug 2019 18:49:18 +0800 Subject: [PATCH] =?UTF-8?q?issue=E8=AF=84=E8=AE=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_issue_replies.html.erb | 26 +++++++++++++-- app/views/issues/show.html.erb | 2 +- public/javascripts/create_kindeditor.js | 26 +++++++-------- public/javascripts/init_KindEditor.js | 30 ++++++++--------- .../javascripts/init_activity_KindEditor.js | 24 +++++++------- public/react/public/js/create_kindeditor.js | 33 ++++++++++--------- 6 files changed, 81 insertions(+), 60 deletions(-) diff --git a/app/views/issues/_issue_replies.html.erb b/app/views/issues/_issue_replies.html.erb index d991dae1..10d60d77 100644 --- a/app/views/issues/_issue_replies.html.erb +++ b/app/views/issues/_issue_replies.html.erb @@ -69,17 +69,21 @@
- +
<%= render :partial => 'attachments/issue_reply', :locals => {:container => @issue} %>
- 发送
+ + <% end %> + 内容不能为空 <% else %> <%= render :partial => "users/show_unlogged" %> @@ -88,4 +92,20 @@
- \ No newline at end of file + + + \ No newline at end of file diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 106d720a..f8c686bd 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -3,7 +3,7 @@ <%= javascript_include_tag 'create_kindeditor'%> <% end %>