This commit is contained in:
Ralf Becker 2006-04-24 12:21:48 +00:00
parent 7429b4fe2b
commit 870424755f

View File

@ -1016,7 +1016,7 @@ class uicontacts extends bocontacts
function getElement(form,pattern){
for (i = 0; i < form.length; i++){
if(form.elements[i].name){
var found = form.elements[i].name.search(pattern);
var found = form.elements[i].name.search("\\\\["+pattern+"\\\\]");
if (found != -1){
return form.elements[i];
}