1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

repair history bug (#2929)

* repair history bug

* update seafile-js version

* update padding
This commit is contained in:
杨顺强
2019-02-11 17:38:28 +08:00
committed by Daniel Pan
parent 1030b5c6ae
commit daa0d19edd
7 changed files with 24 additions and 19 deletions

View File

@@ -243,8 +243,7 @@ class DirentListItem extends React.Component {
onHistory = () => {
let repoID = this.props.repoID;
let filePath = this.getDirentPath(this.props.dirent);
let referer = location.href;
let url = URLDecorator.getUrl({type: 'file_revisions', repoID: repoID, filePath: filePath, referer: referer});
let url = URLDecorator.getUrl({type: 'file_revisions', repoID: repoID, filePath: filePath});
location.href = url;
}