diff --git a/app/views/memos/show.html.erb b/app/views/memos/show.html.erb index 634903558..83b90dc93 100644 --- a/app/views/memos/show.html.erb +++ b/app/views/memos/show.html.erb @@ -95,8 +95,21 @@
<%= reply.author.name%><%= format_date(reply.created_at) %>
-
<%= reply.content.html_safe%>
+
<%= reply.content.html_safe%>
+
<% end %> diff --git a/public/javascripts/application.js b/public/javascripts/application.js index a8504ee1e..55d3eefad 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1170,7 +1170,8 @@ function getRootPath(){ //获取主机地址,如: http://localhost:8083 var localhostPaht=curWwwPath.substring(0,pos); //获取带"/"的项目名,如:/uimcardprj - var projectName=pathName.substring(0,pathName.substr(1).indexOf('/')+1); +// var projectName=pathName.substring(0,pathName.substr(1).indexOf('/')+1); + var projectName=""; return(localhostPaht+projectName); }