论坛编辑的时候上传文件后没有显示

This commit is contained in:
lizanle 2015-12-23 11:12:34 +08:00
parent bececd1547
commit 7688546e7a
1 changed files with 1 additions and 4 deletions

View File

@ -21,10 +21,7 @@
$.ajax({
url:' /forums/'+'<%= @memo.forum_id.to_s %>'+'/memos/<%= @memo.id.to_s%>',
type:'put',
data:{
'memo[subject]':$("#memo_subject").val(),
'memo[content]':$("#memo_content").val()
},
data:$("#edit_memo").serialize(),
success:function(data){
},