1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 23:56:18 +00:00

Fix download python file bug (#6736)

* fix download py file bug

* download in current tab
This commit is contained in:
Michael An
2024-09-09 13:55:17 +08:00
committed by GitHub
parent 63e1802bcf
commit e6261c1c3a
2 changed files with 2 additions and 6 deletions

View File

@@ -162,7 +162,6 @@ class FileToolbar extends React.Component {
id="download-file"
icon="download"
text={gettext('Download')}
tag="a"
href="?dl=1"
/>
)}
@@ -177,7 +176,6 @@ class FileToolbar extends React.Component {
id="open-via-client"
icon="client"
text={gettext('Open via Client')}
tag="a"
href={`seafile://openfile?repo_id=${encodeURIComponent(repoID)}&path=${encodeURIComponent(filePath)}`}
/>
)}