diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index 1e888b09b55..12ef69907b3 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -64,6 +64,12 @@ jQuery(document).ready(function() { hideoptions(); jQuery("#postgresql_options").show(); }); + jQuery("#select_sql_compat").click(function() { + if (jQuery("#select_sql_compat").val() == 'POSTGRESQL') + { + jQuery("#checkbox_dump_disable-add-locks").attr('checked',true); + }; + }); });