Download button doesn't work in FireFox
casperlamboo opened this issue · 1 comments
casperlamboo commented
Download button in the editor doesn't work. Firefox probably only allows downloads from user generated events.
function downloadFile (file, data) {
'use strict';
var blob = new Blob([data], {type:'text/plain'});
var button = document.createElement('a');
button.download = file;
button.href = window.URL.createObjectURL(blob);
button.click();
}
casperlamboo commented
This problem is moved to the slicer interface