From 3485e351a48f91c3d4a1d0fe6a4887fdbd143f85 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Nov 2015 15:46:20 +0100 Subject: [PATCH] Fix do not jump to top of page when clicking on "Link to order" --- htdocs/core/class/html.form.class.php | 4 ++-- htdocs/expensereport/document.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index b683bcb0f6c..bada8627ee0 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4954,7 +4954,7 @@ class Form if (((! is_array($restrictlinksto)) || in_array('order',$restrictlinksto)) && ! empty($conf->commande->enabled)) { - $linktoelem.=($linktoelem?'   ':'').'' . $langs->trans('LinkedOrder') . ''; + $linktoelem.=($linktoelem?'   ':'').'' . $langs->trans('LinkedOrder') . ''; print '