mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
wiki-mode:opening file in new window (#2792)
This commit is contained in:
@@ -63,7 +63,8 @@ class DirOperationToolbar extends React.Component {
|
||||
onEditClick = (e) => {
|
||||
e.preventDefault();
|
||||
let { path, repoID } = this.props;
|
||||
window.location.href= siteRoot + 'lib/' + repoID + '/file' + path + '?mode=edit';
|
||||
let url = siteRoot + 'lib/' + repoID + '/file' + path + '?mode=edit';
|
||||
window.open(url);
|
||||
}
|
||||
|
||||
onNewDraft = (e) => {
|
||||
|
Reference in New Issue
Block a user