mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 19:01:42 +00:00
delete referer (#3042)
This commit is contained in:
@@ -145,7 +145,7 @@ class DirTool extends React.Component {
|
|||||||
</ul>
|
</ul>
|
||||||
);
|
);
|
||||||
} else if (permission) {
|
} else if (permission) {
|
||||||
historyUrl = siteRoot + 'repo/file_revisions/' + repoID + '/?p=' + Utils.encodePath(currentPath) + '&referer=' + encodeURIComponent(location.href);
|
historyUrl = siteRoot + 'repo/file_revisions/' + repoID + '/?p=' + Utils.encodePath(currentPath);
|
||||||
return (
|
return (
|
||||||
<ul className="path-toolbar">
|
<ul className="path-toolbar">
|
||||||
<li className="toolbar-item"><a className="op-link sf2-icon-history" href={historyUrl} title={gettext('History')} aria-label={gettext('History')}></a></li>
|
<li className="toolbar-item"><a className="op-link sf2-icon-history" href={historyUrl} title={gettext('History')} aria-label={gettext('History')}></a></li>
|
||||||
|
Reference in New Issue
Block a user