diff --git a/app/views/boards/_course_show.html.erb b/app/views/boards/_course_show.html.erb index 48e5a870d..5beee8601 100644 --- a/app/views/boards/_course_show.html.erb +++ b/app/views/boards/_course_show.html.erb @@ -253,7 +253,7 @@ }; params.get_ref_str_call=function(btn){ var div = btn.parent('div'); - var str = '
'+$('a',div).filter(':first').html()+' 写到:'; + var str = '
'+$("input[nhname='nh_content_val']",div).val()+'
'+$('a',div).filter(':first').html()+' 写到:'; return str; } nh_init_board(params); diff --git a/app/views/boards/_form_project.html.erb b/app/views/boards/_form_project.html.erb index f6b41b53f..525869901 100644 --- a/app/views/boards/_form_project.html.erb +++ b/app/views/boards/_form_project.html.erb @@ -47,6 +47,7 @@
'+$("input[nhname='nh_content_val']",div).val()+'
'+$('a',div).filter(':first').html()+' 写到:'; + var str = '
'+$("input[nhname='nh_content_val']",div).val()+'
'+$('a',div).filter(':first').html()+' 写到:'; return str; } nh_init_board(params);
'+$("input[nhname='nh_content_val']",div).val()+'