diff --git a/htdocs/comm/address.php b/htdocs/comm/address.php index 099ac5939f3..02b014d02bf 100644 --- a/htdocs/comm/address.php +++ b/htdocs/comm/address.php @@ -223,6 +223,31 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; } + // If javascript enabled, we add interactivity on mandatory fields + if ($conf->use_javascript_ajax) + { + print "\n".''."\n"; + } + print '
'; print ''; print ''; @@ -232,8 +257,8 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; - print ''; - print ''; + print ''; + print ''; print '
'.$langs->trans('AddressLabel').'trans('RequiredField')).'>
'.$langs->trans('Name').'trans('RequiredField')).'>
'.$langs->trans('AddressLabel').'
'.$langs->trans('Name').'
'.$langs->trans('Address').'