论坛编辑的时候上传文件后没有显示
This commit is contained in:
parent
bececd1547
commit
7688546e7a
|
@ -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){
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue