This commit is contained in:
Laurent Destailleur 2025-04-14 19:05:45 +02:00
parent 56908a8764
commit e12d4deba2
2 changed files with 3 additions and 1 deletions

View file

@ -375,7 +375,7 @@ if ($object->id > 0) {
print '<table class="border centpercent tableforfield">';
// Nature Prospect/Customer/Supplier
print '<tr><td class="titlefield">'.$langs->trans('NatureOfThirdParty').'</td><td>';
print '<tr><td class="titlefieldmiddle">'.$langs->trans('NatureOfThirdParty').'</td><td>';
print $object->getTypeUrl(1);
print '</td></tr>';

View file

@ -318,8 +318,10 @@ if ($disablenofollow) {
if ($passwordInput.is('[type=password]')) {
$passwordInput.attr('type', 'text');
jQuery('#togglepassword .fa-eye').attr('class', 'fa fa-eye-slash');
} else {
$passwordInput.attr('type', 'password');
jQuery('#togglepassword .fa-eye-slash').attr('class', 'fa fa-eye');
}
return false; // This prevents the click from reloading the page