Mercurial > gemma
changeset 4417:ad7b06f2f2ad
client: correct naming of the generated pdf
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 18 Sep 2019 13:24:00 +0200 |
parents | 5b2023c2c41e |
children | c0bfe7283384 |
files | client/src/components/Pdftool.vue |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue Wed Sep 18 12:15:27 2019 +0200 +++ b/client/src/components/Pdftool.vue Wed Sep 18 13:24:00 2019 +0200 @@ -208,12 +208,11 @@ filename = filename - .replace(/[^\w-]/gi, "") // remove everything but wordchars and dash + .replace(/[^\w-ßäÄöÖüÜ]/gi, "") // remove everything but wordchars and dash .toLowerCase() + "-exported" + date + ".pdf"; - return filename; } },