Fixed issue for special characters in attachements
This commit is contained in:
parent
c9994b62d0
commit
eb689d467a
1 changed files with 1 additions and 1 deletions
2
frappe/public/js/frappe/form/footer/timeline_item.html
Normal file → Executable file
2
frappe/public/js/frappe/form/footer/timeline_item.html
Normal file → Executable file
|
|
@ -124,7 +124,7 @@
|
|||
<div style="margin: 10px 0px">
|
||||
{% $.each(data.attachments, function(i, a) { %}
|
||||
<div class="text-ellipsis">
|
||||
<a href="{%= a.file_url.replace(/#/g, \'%23\') %}" class="text-muted small" target="_blank">
|
||||
<a href="{%= encodeURI(a.file_url).replace(/#/g, \'%23\') %}" class="text-muted small" target="_blank">
|
||||
<i class="icon-paperclip"></i>
|
||||
{%= a.file_url.split("/").slice(-1)[0] %}
|
||||
{% if (a.is_private) { %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue