From ce9aa3a1b03e89327635ef5531710a0cc6834a78 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Fri, 13 Aug 2010 09:49:05 +0000 Subject: [PATCH] Bug 583884: User autocomplete fills in empty values instead of the autocomplete value r=pyrzak r=mkanat a=mkanat git-svn-id: svn://10.0.0.236/trunk@261040 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/js/field.js | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index f997cb6c69c..2d39a8bb2a3 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7439 \ No newline at end of file +7440 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/js/field.js b/mozilla/webtools/bugzilla/js/field.js index 34f37e39eff..a64369d3315 100644 --- a/mozilla/webtools/bugzilla/js/field.js +++ b/mozilla/webtools/bugzilla/js/field.js @@ -690,8 +690,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 ){