refactor: JSのdownloadメソッドに余分な引数があったので修正
This commit is contained in:
parent
4a3dfd2f3b
commit
bec524c564
@ -200,7 +200,7 @@
|
||||
|
||||
<!-- CSV/Excelダウンロード処理-->
|
||||
<script type="text/javascript">
|
||||
function download(filename, ext) {
|
||||
function download(ext) {
|
||||
// ローディング開始
|
||||
const loading = new Loading();
|
||||
loading.start();
|
||||
@ -391,7 +391,7 @@
|
||||
'id': 'excel_confirm_ok',
|
||||
'class': 'btn btn-primary',
|
||||
'text': 'OK',
|
||||
'onclick_event': 'download("filename", "xlsx")'
|
||||
'onclick_event': 'download("xlsx")'
|
||||
},
|
||||
{
|
||||
'id': 'excel_confirm_cancel',
|
||||
@ -415,7 +415,7 @@
|
||||
'id': 'csv_confirm_ok',
|
||||
'class': 'btn btn-primary',
|
||||
'text': 'OK',
|
||||
'onclick_event': 'download("filename", "csv")'
|
||||
'onclick_event': 'download("csv")'
|
||||
},
|
||||
{
|
||||
'id': 'csv_confirm_cancel',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user