mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
feat: sdoc support list history (#5457)
* feat: sdoc support list history * Feat: git add . * feat: update code * feat: update code
This commit is contained in:
@@ -1536,6 +1536,11 @@ export const Utils = {
|
||||
updateTabTitle: function(content) {
|
||||
const title = document.getElementsByTagName('title')[0];
|
||||
title.innerText = content;
|
||||
},
|
||||
|
||||
generateHistoryURL: function(siteRoot, repoID, path) {
|
||||
if (!siteRoot || !repoID || !path) return '';
|
||||
return siteRoot + 'repo/file_revisions/' + repoID + '/?p=' + this.encodePath(path);
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user