forked from mirror/MrDoc
优化移动文档后跳转的文档链接
This commit is contained in:
parent
75098953e0
commit
ea6f743648
@ -541,7 +541,7 @@
|
||||
$.post("{% url 'move_doc' %}",data,function(r){
|
||||
layer.closeAll('loading')
|
||||
if(r.status){
|
||||
window.location.href = '/project-'+r.data.pro_id + '/doc-' + r.data.doc_id + '/'
|
||||
window.location.href = '/doc/' + r.data.doc_id + '/'
|
||||
}else{
|
||||
layer.msg(r.data)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user