1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

open draft in new window

This commit is contained in:
shanshuirenjia
2019-04-26 17:08:16 +08:00
parent aadb555b6c
commit 5a04a22ad6

View File

@@ -1230,7 +1230,7 @@ class LibContentView extends React.Component {
} }
goDraftPage = () => { goDraftPage = () => {
window.location.href = siteRoot + 'drafts/' + this.state.draftID + '/'; window.open(siteRoot + 'drafts/' + this.state.draftID + '/');
} }
sortItems = (sortBy, sortOrder) => { sortItems = (sortBy, sortOrder) => {