diff --git a/app/views/blog_comments/_edit.html.erb b/app/views/blog_comments/_edit.html.erb index 048402635..b9d10527d 100644 --- a/app/views/blog_comments/_edit.html.erb +++ b/app/views/blog_comments/_edit.html.erb @@ -39,6 +39,8 @@ %>

+

+

@@ -56,4 +58,11 @@
- \ No newline at end of file + + \ No newline at end of file diff --git a/app/views/blog_comments/_new.html.erb b/app/views/blog_comments/_new.html.erb index e336c7d01..de7be84c1 100644 --- a/app/views/blog_comments/_new.html.erb +++ b/app/views/blog_comments/_new.html.erb @@ -36,6 +36,8 @@ :maxlength => 5000 }%>

+

+

@@ -62,4 +64,4 @@
-->
- \ No newline at end of file + diff --git a/app/views/blogs/index.html.erb b/app/views/blogs/index.html.erb index 50db24063..f473ab534 100644 --- a/app/views/blogs/index.html.erb +++ b/app/views/blogs/index.html.erb @@ -184,3 +184,10 @@ function nh_init_board(params){ + diff --git a/public/javascripts/application.js b/public/javascripts/application.js index c3435d153..b7468366a 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1261,6 +1261,7 @@ function elocalStorage(editor,mdu){ h = h < 10 ? '0' + h : h; m = m < 10 ? '0' + m : m; s = s < 10 ? '0' + s : s; + editor.sync(); if(!editor.isEmpty()){ add_data("content",mdu,editor.html()); $('#e_tip').html(" 数据已于 " + h + ':' + m + ':' + s +" 保存 ");