Disable javascript feature with no javascript
This commit is contained in:
parent
8c61529aee
commit
c891f6ed10
@ -288,8 +288,9 @@ if ($mode != 'focus' && $mode != 'mandatory')
|
|||||||
}
|
}
|
||||||
// Entity
|
// Entity
|
||||||
if (! empty($conf->multicompany->enabled) && !$user->entity) print_liste_field_titre("Entity",$_SERVER["PHP_SELF"],'entity,page','',$param,'',$sortfield,$sortorder);
|
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
|
// Actions
|
||||||
print '<td align="center"></td>';
|
print_liste_field_titre("",$_SERVER["PHP_SELF"],'','',$param,'',$sortfield,$sortorder);
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -724,15 +724,18 @@ function defaultvalues_prepare_head()
|
|||||||
$head[$h][2] = 'sortorder';
|
$head[$h][2] = 'sortorder';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=focus";
|
if (! empty($conf->use_javascript_ajax))
|
||||||
$head[$h][1] = $langs->trans("DefaultFocus");
|
{
|
||||||
$head[$h][2] = 'focus';
|
$head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=focus";
|
||||||
$h++;
|
$head[$h][1] = $langs->trans("DefaultFocus");
|
||||||
|
$head[$h][2] = 'focus';
|
||||||
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=mandatory";
|
$head[$h][0] = DOL_URL_ROOT."/admin/defaultvalues.php?mode=mandatory";
|
||||||
$head[$h][1] = $langs->trans("DefaultMandatory");
|
$head[$h][1] = $langs->trans("DefaultMandatory");
|
||||||
$head[$h][2] = 'mandatory';
|
$head[$h][2] = 'mandatory';
|
||||||
$h++;
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
/*$head[$h][0] = DOL_URL_ROOT."/admin/translation.php?mode=searchkey";
|
/*$head[$h][0] = DOL_URL_ROOT."/admin/translation.php?mode=searchkey";
|
||||||
$head[$h][1] = $langs->trans("TranslationKeySearch");
|
$head[$h][1] = $langs->trans("TranslationKeySearch");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user