diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb index 10383ff00..452ad81e3 100644 --- a/app/views/boards/show.html.erb +++ b/app/views/boards/show.html.erb @@ -123,6 +123,7 @@ function nh_check_field(params){ function nh_init_board(params){ //发帖/编辑/回复按钮的click params.showbtn.click(function(){ + params.textarea.removeAttr('placeholder'); if(params.textarea.data('init') == undefined){ //初始化编辑器 var editor = params.kindutil.create(params.textarea, { diff --git a/app/views/courses/_courses_jours.html.erb b/app/views/courses/_courses_jours.html.erb index 2cb22ce89..5813fc807 100644 --- a/app/views/courses/_courses_jours.html.erb +++ b/app/views/courses/_courses_jours.html.erb @@ -56,6 +56,7 @@ $(function(){ function init_editor(params){ + params.textarea.removeAttr('placeholder'); var editor = params.kindutil.create(params.textarea, { resizeType : 1,minWidth:"1px",width:"100%",height:"150px", items:['emoticons'], diff --git a/app/views/projects/_project_jours.html.erb b/app/views/projects/_project_jours.html.erb index 353223acd..1a7d3c5d5 100644 --- a/app/views/projects/_project_jours.html.erb +++ b/app/views/projects/_project_jours.html.erb @@ -45,6 +45,7 @@ $(function(){ function init_editor(params){ + params.textarea.removeAttr('placeholder'); var editor = params.kindutil.create(params.textarea, { resizeType : 1,minWidth:"1px",width:"100%",height:"150px", items:['emoticons'], diff --git a/app/views/users/_user_jours.html.erb b/app/views/users/_user_jours.html.erb index ee8d14841..c74f68a24 100644 --- a/app/views/users/_user_jours.html.erb +++ b/app/views/users/_user_jours.html.erb @@ -69,6 +69,7 @@ $(function(){ function init_editor(params){ + params.textarea.removeAttr('placeholder'); var editor = params.kindutil.create(params.textarea, { resizeType : 1,minWidth:"1px",width:"100%",height:"150px", items:['emoticons'],