From ffa62cf58afe3a221e66bfbc82573417bf520b4e Mon Sep 17 00:00:00 2001
From: Nestor <npegane@hotmail.com>
Date: Wed, 16 May 2018 17:00:28 +0200
Subject: [PATCH] FIX #7700 fix jquery call

---
 apps/maarch_entreprise/js/functions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/maarch_entreprise/js/functions.js b/apps/maarch_entreprise/js/functions.js
index 5217b870fc6..26075086764 100755
--- a/apps/maarch_entreprise/js/functions.js
+++ b/apps/maarch_entreprise/js/functions.js
@@ -252,7 +252,7 @@ var initList_hidden_input_before = function (idField, idList, theUrlToListScript
                 return entry + "&"+previous_name+"=" + $j("#"+previous_field).val(); 
             },
             afterUpdateElement: function (text, li){
-                $j("#"+new_value).value = li.id;
+                $j("#"+new_value).val(li.id);
             }
         });
 };
-- 
GitLab