Compare commits
2 Commits
800633fe47
...
33b8ad0723
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33b8ad0723 | ||
|
|
6b6675575f |
@ -11,7 +11,10 @@ var tableToExcel = (function(){
|
||||
return function(table, name) {
|
||||
if (!table.nodeType) table = document.getElementById(table)
|
||||
var ctx = {worksheet: name || 'Worksheet', table: table.innerHTML}
|
||||
window.location.href = uri + base64(format(template, ctx))
|
||||
//window.location.href = uri + base64(format(template, ctx))
|
||||
document.getElementById("dlink").href = uri + base64(format(template, ctx));
|
||||
document.getElementById("dlink").download = filename;
|
||||
document.getElementById("dlink").click();
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user