mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
(captive portal) change voucher download filename to match groupname, original idea from @DokuKaefer
This commit is contained in:
parent
2c68fd3fac
commit
8034446fb0
@ -198,7 +198,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
$('<a></a>')
|
||||
.attr('id','downloadFile')
|
||||
.attr('href','data:text/csv;charset=utf8,' + encodeURIComponent(output_data))
|
||||
.attr('download','vouchers.csv')
|
||||
.attr('download',voucher_groupname.toLowerCase() + '.csv')
|
||||
.appendTo('body');
|
||||
|
||||
$('#downloadFile').ready(function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user