only automatically download in usercontent if user requested it
This commit is contained in:
parent
0e65d54af2
commit
c0b68ccd53
2 changed files with 6 additions and 1 deletions
|
@ -271,6 +271,8 @@ export default createReactClass({
|
|||
// We can't provide a Content-Disposition header like we would for HTTP.
|
||||
download: fileName,
|
||||
textContent: _t("Download %(text)s", { text: text }),
|
||||
// only auto-download if a user triggered this iframe explicitly
|
||||
auto: !this.props.decryptedBlob,
|
||||
}, "*");
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue