From 4950775197313bfe3423d530dc49a0517a6ecbc1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 1 Oct 2010 16:19:53 +0000 Subject: [PATCH] Fix: hide arrows if edit line --- htdocs/comm/propal.php | 2 +- htdocs/core/tpl/ajaxrow.tpl.php | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index ce08ab28864..366c0a7df07 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1368,7 +1368,7 @@ if ($id > 0 || ! empty($ref)) * Lines */ // We disable with $conf->global->MAIN_FEATURES_LEVEL because until dev is finished. - if ($conf->global->MAIN_FEATURES_LEVEL == 2 && $conf->use_javascript_ajax && $object->statut == 0 && $_GET['action'] != 'editline') + if ($conf->global->MAIN_FEATURES_LEVEL == 2 && $conf->use_javascript_ajax && $object->statut == 0) { include(DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'); } diff --git a/htdocs/core/tpl/ajaxrow.tpl.php b/htdocs/core/tpl/ajaxrow.tpl.php index b556e80402e..14333f3320a 100644 --- a/htdocs/core/tpl/ajaxrow.tpl.php +++ b/htdocs/core/tpl/ajaxrow.tpl.php @@ -21,6 +21,7 @@ + + + + \ No newline at end of file