#87: include system name in export file name

This commit is contained in:
andreas 2024-11-13 15:08:27 +01:00
parent 4504b8832f
commit 7ea500bad6
1 changed files with 5 additions and 1 deletions

View File

@ -1071,8 +1071,12 @@
function formatDateForFilename(usePrefix, d) {
let rt = "";
if (usePrefix) {
let hdl= document.getElementById('headline');
if (hdl){
rt=hdl.textContent+"_";
}
let fwt = document.querySelector('.status-fwtype');
if (fwt) rt = fwt.textContent;
if (fwt) rt += fwt.textContent;
rt += "_";
}
if (!d) d = new Date();