From a2d3485b2a20e42196d52da707fa9fa77ccecc50 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 10 Feb 2012 10:00:32 +0100 Subject: [PATCH] New: Autoselect no LOCK when export is for POSTGRESQL --- htdocs/admin/tools/dolibarr_export.php | 6 ++++++ 1 file changed, 6 insertions(+) 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); + }; + }); });