fix(messagerie): attachment open in new tab
This commit is contained in:
parent
8cf8c2c88a
commit
f4eb32af29
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- if commentaire.piece_jointe.attached?
|
- if commentaire.piece_jointe.attached?
|
||||||
.fr-ml-2w
|
.fr-ml-2w
|
||||||
= render Attachment::ShowComponent.new(attachment: commentaire.piece_jointe.attachment)
|
= render Attachment::ShowComponent.new(attachment: commentaire.piece_jointe.attachment, new_tab: true)
|
||||||
|
|
||||||
- if show_reply_button?
|
- if show_reply_button?
|
||||||
= button_tag type: 'button', class: 'button small message-answer-button', onclick: 'document.querySelector("#commentaire_body").focus()' do
|
= button_tag type: 'button', class: 'button small message-answer-button', onclick: 'document.querySelector("#commentaire_body").focus()' do
|
||||||
|
|
Loading…
Reference in a new issue