#87: include system name in export file name
This commit is contained in:
parent
4504b8832f
commit
7ea500bad6
|
@ -1071,8 +1071,12 @@
|
||||||
function formatDateForFilename(usePrefix, d) {
|
function formatDateForFilename(usePrefix, d) {
|
||||||
let rt = "";
|
let rt = "";
|
||||||
if (usePrefix) {
|
if (usePrefix) {
|
||||||
|
let hdl= document.getElementById('headline');
|
||||||
|
if (hdl){
|
||||||
|
rt=hdl.textContent+"_";
|
||||||
|
}
|
||||||
let fwt = document.querySelector('.status-fwtype');
|
let fwt = document.querySelector('.status-fwtype');
|
||||||
if (fwt) rt = fwt.textContent;
|
if (fwt) rt += fwt.textContent;
|
||||||
rt += "_";
|
rt += "_";
|
||||||
}
|
}
|
||||||
if (!d) d = new Date();
|
if (!d) d = new Date();
|
||||||
|
|
Loading…
Reference in New Issue