add export cluster link to body (needed for Firefox)
This commit is contained in:
parent
2800b26a77
commit
d12dc36e27
@ -397,7 +397,9 @@ ClusteringDialog.prototype._export = function() {
|
|||||||
var link = document.createElement('a');
|
var link = document.createElement('a');
|
||||||
link.href = 'data:' + data;
|
link.href = 'data:' + data;
|
||||||
link.download = "clusters_" + projectName + "_" + columnName + "_" + timeStamp + ".json";
|
link.download = "clusters_" + projectName + "_" + columnName + "_" + timeStamp + ".json";
|
||||||
|
document.body.appendChild(link);
|
||||||
link.click();
|
link.click();
|
||||||
|
document.body.removeChild(link);
|
||||||
};
|
};
|
||||||
|
|
||||||
ClusteringDialog.prototype._dismiss = function() {
|
ClusteringDialog.prototype._dismiss = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user