|
@@ -164,6 +164,7 @@ function parseCsvFile( fileData ) {
|
|
|
swal({
|
|
|
title: 'Dane załadowane z pliku CSV',
|
|
|
html: json.body.view,
|
|
|
+ width: Math.round(window.innerWidth * 0.9),
|
|
|
confirmButtonText: 'Zapisz',
|
|
|
preConfirm: function (dataForm) {
|
|
|
return new Promise(function (resolve, reject) {
|
|
@@ -203,7 +204,7 @@ function saveFormCsvFileAjaxAction() {
|
|
|
|
|
|
formDataFrom = formDataFrom.replace(/%5B/g,"[");
|
|
|
formDataFrom = formDataFrom.replace(/%5D/g,"]");
|
|
|
-
|
|
|
+
|
|
|
//var formDataFrom = $("#formDataFromCsv").serializeArray();
|
|
|
console.log('dane z formularza formDataFrom ', formDataFrom );
|
|
|
|