diff --git a/assets/src/css/style.css b/assets/src/css/style.css index d5c2a8650..9b44b514d 100644 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -568,7 +568,4 @@ input.small-width { min-height: 140px; margin: 5%; } -} -.bound{ - cursor: pointer; } \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index 31066714a..9df4beda3 100644 --- a/lib/init.js +++ b/lib/init.js @@ -3,7 +3,7 @@ $(document).ready(function () { $('[data-href]').not('.ask, .bound').click(function () { launch_modal($(this).data('title'), $(this).data('href'), 1, $(this).data('target')); }); - $('[data-href]').not('.ask, .bound').addClass('bound'); + $('[data-href]').not('.ask, .bound').addClass('bound clickable'); // Tooltip $('.tip').not('.tooltipstered').each(function () { diff --git a/modules/anagrafiche/import.php b/modules/anagrafiche/import.php index c7f3cb4e0..189adf5ab 100644 --- a/modules/anagrafiche/import.php +++ b/modules/anagrafiche/import.php @@ -4,7 +4,7 @@ include_once __DIR__.'/../../core.php'; switch (post('op')) { case 'import': - $i = 0; + foreach ($data as $key => $value) { if (!empty($value)){ diff --git a/modules/import/actions.php b/modules/import/actions.php index 398182e45..064805c4d 100644 --- a/modules/import/actions.php +++ b/modules/import/actions.php @@ -48,7 +48,7 @@ switch (post('op')) { // Richiamo delle operazioni specifiche include $imports[$id_record]['import']; - $_SESSION['infos'][] = tr('Importazione completata. '.$i.' righe processate.'); + $_SESSION['infos'][] = tr('Importazione completata. '.count($csv).' righe processate.'); break; } diff --git a/modules/import/edit.php b/modules/import/edit.php index 1a4122880..7df1b5dac 100644 --- a/modules/import/edit.php +++ b/modules/import/edit.php @@ -96,11 +96,12 @@ if (empty($id_record)) { '; ?>