From 8d20e11577d2300462ff80897f28fe04ec20a8df Mon Sep 17 00:00:00 2001 From: "Guillaume (ioguix) de Rorthais" Date: Sun, 19 Dec 2010 22:20:07 +0100 Subject: [PATCH] Fix #3139003 "Autocomplete doesn't insert value", report and patch by Aleksander Machniak --- js/ac_insert_row.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ac_insert_row.js b/js/ac_insert_row.js index 5ca85efa..6ac0bef2 100644 --- a/js/ac_insert_row.js +++ b/js/ac_insert_row.js @@ -173,7 +173,7 @@ with(jQuery('tr.acline')) { var a = jQuery(this).find('td > a.fkval'); for (i=0; i < a.length; i++) { - jQuery('input[name=values\\['+ a[i].name +'\\]]').val(a[i].innerHTML); + jQuery('input[name="values['+ a[i].name +']"]').val(a[i].innerHTML); } hideAc(); }); -- 2.39.5