diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php
index cda22fe4ae0..001438cdf54 100644
--- a/htdocs/exports/export.php
+++ b/htdocs/exports/export.php
@@ -590,9 +590,31 @@ if ($step == 2 && $datatoexport) {
print '';
print '
';
print ''.$langs->trans("SelectExportFields").' ';
- $htmlother->select_export_model((string) $exportmodelid, 'exportmodelid', $datatoexport, 0, $user->id);
+ $htmlother->select_export_model((string) $exportmodelid, 'exportmodelid', $datatoexport, 1, $user->id);
print ' ';
- print '';
+ print '';
+ // Add js to show button
+ if (!empty($conf->use_javascript_ajax)) {
+ print '
+ ';
+ }
print '
';
print '';
@@ -771,7 +793,7 @@ if ($step == 3 && $datatoexport) {
print $objexport->array_export_module[0]->getName();
print '';
- // Lot de donnees a exporter
+ // Dataset to export
print '| '.$langs->trans("DatasetToExport").' | ';
print '';
$entity = preg_replace('/:.*$/', '', $objexport->array_export_icon[0]);
@@ -795,7 +817,7 @@ if ($step == 3 && $datatoexport) {
}
}
}
- print ' | '.$list.' |
';
+ print ''.$list.' | ';
print '';
print '';
@@ -803,7 +825,7 @@ if ($step == 3 && $datatoexport) {
print '
';
// Combo list of export models
- print ''.$langs->trans("SelectFilterFields").'
';
+ print ''.$langs->trans("SelectFilterFields").'...
';
// un formulaire en plus pour recuperer les filtres