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
This commit is contained in:
mkanat%bugzilla.org 2010-08-13 09:49:05 +00:00
parent a6d776124d
commit ce9aa3a1b0
2 changed files with 7 additions and 3 deletions

View File

@ -1 +1 @@
7439
7440

View File

@ -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 ){