Bug 581933: Make YUI user autocomplete work with non-ASCII characters
r=Wurblzap, a=LpSolit git-svn-id: svn://10.0.0.236/trunk@261469 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ff920a6fd8
commit
9676d24ce7
@ -1 +1 @@
|
||||
7575
|
||||
7576
|
||||
@ -670,7 +670,7 @@ YAHOO.bugzilla.userAutocomplete = {
|
||||
method : "User.get",
|
||||
id : YAHOO.bugzilla.userAutocomplete.counter,
|
||||
params : [ {
|
||||
match : [ unescape(enteredText) ],
|
||||
match : [ decodeURIComponent(enteredText) ],
|
||||
include_fields : [ "email", "real_name" ]
|
||||
} ]
|
||||
};
|
||||
@ -681,7 +681,7 @@ YAHOO.bugzilla.userAutocomplete = {
|
||||
return stringified;
|
||||
},
|
||||
resultListFormat : function(oResultData, enteredText, sResultMatch) {
|
||||
return ( unescape(oResultData.real_name) + " (" + oResultData.email + ")");
|
||||
return ( oResultData.real_name + " (" + oResultData.email + ")");
|
||||
},
|
||||
debug_helper : function ( ){
|
||||
/* used to help debug any errors that might happen */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user