- Status Unconfirmed
- Percent Complete
- Task Type Information
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 1.0-beta
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2335 - PDF Attachment does NOT View/Open in New Window/Tab
if a pdf is attached with commentit needs either be forced as download or open target _blank
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Here a little target="_blank" hack to open pdf-files in a new browser tab instead of same browser window (if web browser has builtin PDF support or PDF plugin)
Search the link in themes/CleanFS/templates/common.attachments.tpl
around line 6:
Replace:
with
Currently we add the "force download"-button only for images to workaround the problem that lightbox grabs rightmouseclicks too.
Maybe we should add the "force download"-button for pdf-files too? The default link to a pdf file should keep a normal link I think (normal or '_blank' link), so the web browser decides if showing in browser window or show download dialog.