1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +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

@@ -17,7 +17,7 @@ class URLDecorator {
url = siteRoot + 'lib/' + options.repoID + '/file' + Utils.encodePath(options.filePath) + '?dl=1';
break;
case 'file_revisions':
params = 'p=' + Utils.encodePath(options.filePath) + '&referer=' + Utils.encodePath(options.referer);
params = 'p=' + Utils.encodePath(options.filePath);
url = siteRoot + 'repo/file_revisions/' + options.repoID + '/?' + params;
break;
case 'open_via_client':