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