IdcDepositListExcel.jsp change...
This commit is contained in:
parent
de6664358a
commit
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