diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-13 11:31:50 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-13 11:31:50 +0200 |
commit | 56f34b67fefe19d98dcdb0ea0597e338d20f3a87 (patch) | |
tree | c9c170c1f1981731db24bbf5f8c03ab292ffbbf5 /js | |
parent | 130a98f4df5726745978dfd3c143663a69b58661 (diff) | |
download | bugzilla-56f34b67fefe19d98dcdb0ea0597e338d20f3a87.tar.gz bugzilla-56f34b67fefe19d98dcdb0ea0597e338d20f3a87.tar.xz |
Bug 583884: User autocomplete fills in empty values instead of the autocomplete value
r=pyrzak r=mkanat a=mkanat
Diffstat (limited to 'js')
-rw-r--r-- | js/field.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/field.js b/js/field.js index 34f37e39e..a64369d33 100644 --- a/js/field.js +++ b/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 ){ |