Parcourir la source

added width 90% for modal after upload csv

Piotr Labudda il y a 7 ans
Parent
commit
13cbdfcc97
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      tools/Bocian.php.view.js

+ 2 - 1
tools/Bocian.php.view.js

@@ -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 );