Commit 56f34b67 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 583884: User autocomplete fills in empty values instead of the autocomplete value

r=pyrzak r=mkanat a=mkanat
parent 130a98f4
...@@ -690,8 +690,12 @@ YAHOO.bugzilla.userAutocomplete = { ...@@ -690,8 +690,12 @@ YAHOO.bugzilla.userAutocomplete = {
this.dataSource.maxCacheEntries = 5; this.dataSource.maxCacheEntries = 5;
this.dataSource.responseSchema = { this.dataSource.responseSchema = {
resultsList : "result.users", resultsList : "result.users",
metaFields : { error: "error", jsonRpcId: "id"} metaFields : { error: "error", jsonRpcId: "id"},
}; fields : [
{ key : "email" },
{ key : "real_name"}
]
};
}, },
init : function( field, container, multiple ) { init : function( field, container, multiple ) {
if( this.dataSource == null ){ if( this.dataSource == null ){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment