Commit 9ebea154 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 581933: Make YUI user autocomplete work with non-ASCII characters

r=Wurblzap, a=LpSolit
parent 323885d3
......@@ -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 */
......
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