diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php
index f7a2a031dbf..afec612bf61 100644
--- a/htdocs/admin/defaultvalues.php
+++ b/htdocs/admin/defaultvalues.php
@@ -288,8 +288,9 @@ if ($mode != 'focus' && $mode != 'mandatory')
}
// Entity
if (! empty($conf->multicompany->enabled) && !$user->entity) print_liste_field_titre("Entity",$_SERVER["PHP_SELF"],'entity,page','',$param,'',$sortfield,$sortorder);
+else print_liste_field_titre("",$_SERVER["PHP_SELF"],'','',$param,'',$sortfield,$sortorder);
// Actions
-print '
| ';
+print_liste_field_titre("",$_SERVER["PHP_SELF"],'','',$param,'',$sortfield,$sortorder);
print "\n";
diff --git a/htdocs/core/lib/admin.lib.php b/htdocs/core/lib/admin.lib.php
index 9d3bc24bd76..c67539a8b7c 100644
--- a/htdocs/core/lib/admin.lib.php
+++ b/htdocs/core/lib/admin.lib.php
@@ -724,15 +724,18 @@ function defaultvalues_prepare_head()
$head[$h][2] = 'sortorder';
$h++;
- $head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=focus";
- $head[$h][1] = $langs->trans("DefaultFocus");
- $head[$h][2] = 'focus';
- $h++;
+ if (! empty($conf->use_javascript_ajax))
+ {
+ $head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=focus";
+ $head[$h][1] = $langs->trans("DefaultFocus");
+ $head[$h][2] = 'focus';
+ $h++;
- $head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=mandatory";
- $head[$h][1] = $langs->trans("DefaultMandatory");
- $head[$h][2] = 'mandatory';
- $h++;
+ $head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=mandatory";
+ $head[$h][1] = $langs->trans("DefaultMandatory");
+ $head[$h][2] = 'mandatory';
+ $h++;
+ }
/*$head[$h][0] = DOL_URL_ROOT."/admin/translation.php?mode=searchkey";
$head[$h][1] = $langs->trans("TranslationKeySearch");