Add more metadata

This commit is contained in:
Stephan Porada
2020-05-04 11:05:17 +02:00
parent 58295b986d
commit c49684611a
4 changed files with 10 additions and 15 deletions

View File

@ -467,7 +467,7 @@
// add onclick to download JSON button and download the file
downloadInspectContextElement = document.getElementById("inspect-download-context")
downloadInspectContextElement.onclick = () => {
let filename = results.data.createDownloadFilename("context");
let filename = results.data.createDownloadFilename(`context-id-${results.jsList.contextId}`);
results.data.addData(results.metaData);
results.data.downloadJSONRessource(filename,
results.jsList.contextData,