-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[FIX] Attachment download from title fixed #20585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Attachment download from title fixed #20585
Conversation
|
@ggazzo Please Review. :) |
|
Changed target to self, seems to solve the issue, without opening new tab. |
MartinSchoeler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, could you check this Pull Request on our Electron (Desktop) app? It seems to be opening a browser window when you click on the download icon. Thanks!
there is still an issue with the PR
|
try change self to blank |
|
Sir, I checked both download icon and title link work fine and open in electron app only. In earlier commits, I had target as _blank but I figured keeping it as blank would open new browser window and hence I changed it to self due to this reason. |
Co-authored-by: Tiago Evangelista Pinto <[email protected]>
Co-authored-by: Tiago Evangelista Pinto <[email protected]>
* rocketchat/master: Bump version to 3.11.1 [FIX] Livechat bridge permission checkers (RocketChat#20653) Fix room not being assigned to bot agent first. (RocketChat#20662) [FIX] Attachment download from title fixed (RocketChat#20585) [FIX] Gif images aspect ratio on preview (RocketChat#20654) [FIX] Update NPS banner when changing score (RocketChat#20611)


Proposed changes (including videos or screenshots)
Added target = '_self' to attachment link, this seems to fix the problem, without this attribute, error page is displayed.
Issue(s)
fixes #20583 #20559
Steps to test or reproduce
given on issue
Further comments