mirror of https://github.com/gophish/gophish
Fixing results download in Firefox. Fixes #153
parent
1fe1af2ce9
commit
913f444598
|
@ -111,7 +111,9 @@ function exportAsCSV(scope) {
|
|||
var dlLink = document.createElement('a');
|
||||
dlLink.href = csvURL;
|
||||
dlLink.setAttribute('download', scope + '.csv');
|
||||
document.body.appendChild(dlLink)
|
||||
dlLink.click();
|
||||
document.body.removeChild(dlLink)
|
||||
}
|
||||
$("#exportButton").html(exportHTML)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue