From d80e5038f7a07aeceb34c8bc3a762449e9214fc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Fri, 13 Aug 2010 11:33:28 +0200 Subject: [PATCH] Bug 583884: User autocomplete fills in empty values instead of the autocomplete value r=pyrzak r=mkanat a=mkanat --- js/field.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/field.js b/js/field.js index 3de4a69ab3..18a8d3aa46 100644 --- a/js/field.js +++ b/js/field.js @@ -684,8 +684,12 @@ YAHOO.bugzilla.userAutocomplete = { this.dataSource.maxCacheEntries = 5; this.dataSource.responseSchema = { resultsList : "result.users", - metaFields : { error: "error", jsonRpcId: "id"} - }; + metaFields : { error: "error", jsonRpcId: "id"}, + fields : [ + { key : "email" }, + { key : "real_name"} + ] + }; }, init : function( field, container, multiple ) { if( this.dataSource == null ){ -- 2.47.2